Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
show-full-job-script
Browse filesShow full job script in CLI
- agent/main.py +2 -5
agent/main.py
CHANGED
|
@@ -174,11 +174,8 @@ async def event_listener(
|
|
| 174 |
python_version = arguments.get("python")
|
| 175 |
script_args = arguments.get("script_args", [])
|
| 176 |
|
| 177 |
-
# Show
|
| 178 |
-
|
| 179 |
-
script if len(script) < 200 else script[:200] + "..."
|
| 180 |
-
)
|
| 181 |
-
print(f"Script: {script_display}")
|
| 182 |
if dependencies:
|
| 183 |
print(f"Dependencies: {', '.join(dependencies)}")
|
| 184 |
if python_version:
|
|
|
|
| 174 |
python_version = arguments.get("python")
|
| 175 |
script_args = arguments.get("script_args", [])
|
| 176 |
|
| 177 |
+
# Show full script
|
| 178 |
+
print(f"Script:\n{script}")
|
|
|
|
|
|
|
|
|
|
| 179 |
if dependencies:
|
| 180 |
print(f"Dependencies: {', '.join(dependencies)}")
|
| 181 |
if python_version:
|