TRaw commited on
Commit
5163024
·
1 Parent(s): e8a266e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,5 +26,5 @@ def predict(message, history):
26
  except Exception as e:
27
  print(f"An error occurred: {e}")
28
  return "Sorry, I couldn't process that message."
29
-
30
- gr.Interface(predict, inputs=["text", "state"], outputs="text").launch()
 
26
  except Exception as e:
27
  print(f"An error occurred: {e}")
28
  return "Sorry, I couldn't process that message."
29
+
30
+ gr.ChatInterface(predict).launch()