radames commited on
Commit
cbd8618
1 Parent(s): 291cd48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 = """