anujkumar4 commited on
Commit
96cad13
·
verified ·
1 Parent(s): cbd391b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def chat(user_text):
34
  return bot_text
35
  except Exception as e:
36
  messages.pop()
37
- return f"Error: {e}"
38
 
39
  demo = gr.Interface(
40
  fn=chat,
 
34
  return bot_text
35
  except Exception as e:
36
  messages.pop()
37
+ return f"Error: {str(e)}"
38
 
39
  demo = gr.Interface(
40
  fn=chat,