Spaces:
Runtime error
Runtime error
Commit
·
798ede2
1
Parent(s):
f2e9dae
update
Browse files
app.py
CHANGED
@@ -153,6 +153,7 @@ def inference(
|
|
153 |
while True:
|
154 |
result: WrappedGenerateResponse = response_queue.get()
|
155 |
if result.status == "error":
|
|
|
156 |
return None, None, build_html_error_message(result.response)
|
157 |
|
158 |
result: GenerateResponse = result.response
|
|
|
153 |
while True:
|
154 |
result: WrappedGenerateResponse = response_queue.get()
|
155 |
if result.status == "error":
|
156 |
+
print(f"result={result}")
|
157 |
return None, None, build_html_error_message(result.response)
|
158 |
|
159 |
result: GenerateResponse = result.response
|