Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,12 @@ def wait_on_run(client, thread, run):
|
|
| 113 |
time.sleep(0.5)
|
| 114 |
|
| 115 |
show_json("run", run)
|
| 116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
return run
|
| 118 |
|
| 119 |
def get_run_steps(client, thread, run):
|
|
|
|
| 113 |
time.sleep(0.5)
|
| 114 |
|
| 115 |
show_json("run", run)
|
| 116 |
+
|
| 117 |
+
if hasattr(run, "error"):
|
| 118 |
+
print("###")
|
| 119 |
+
print(run.error)
|
| 120 |
+
print("###")
|
| 121 |
+
|
| 122 |
return run
|
| 123 |
|
| 124 |
def get_run_steps(client, thread, run):
|