Update app.py
Browse files
app.py
CHANGED
@@ -167,7 +167,8 @@ def update(files, prompt, top_p=1, temperature=1):
|
|
167 |
return output_file_path, gr.update(value=generated_command)
|
168 |
except Exception as e:
|
169 |
print("FROM UPDATE", e)
|
170 |
-
raise gr.Error(e)
|
|
|
171 |
|
172 |
|
173 |
css = """
|
|
|
167 |
return output_file_path, gr.update(value=generated_command)
|
168 |
except Exception as e:
|
169 |
print("FROM UPDATE", e)
|
170 |
+
raise gr.Error(str(e))
|
171 |
+
|
172 |
|
173 |
|
174 |
css = """
|