Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -91,6 +91,7 @@ def predict(request: gr.Request, *args, progress=gr.Progress(track_tqdm=True)):
|
|
91 |
return json_response["output"]
|
92 |
predict_outputs = parse_outputs(json_response["output"])
|
93 |
processed_outputs = process_outputs(predict_outputs)
|
|
|
94 |
return tuple(processed_outputs) if len(processed_outputs) > 1 else processed_outputs[0]
|
95 |
else:
|
96 |
time.sleep(1)
|
|
|
91 |
return json_response["output"]
|
92 |
predict_outputs = parse_outputs(json_response["output"])
|
93 |
processed_outputs = process_outputs(predict_outputs)
|
94 |
+
print(f"processed_outputs: {processed_outputs}")
|
95 |
return tuple(processed_outputs) if len(processed_outputs) > 1 else processed_outputs[0]
|
96 |
else:
|
97 |
time.sleep(1)
|