radames commited on
Commit
3a55a93
1 Parent(s): cbd8618

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -167,8 +167,7 @@ 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(str(e))
171
-
172
 
173
 
174
  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(e)
 
171
 
172
 
173
  css = """