jordigonzm commited on
Commit
2398722
1 Parent(s): 41ed70a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def predict(message, history):
37
  yield text
38
 
39
  chat_interface = gr.ChatInterface(
40
- fn=chat_function,
41
  chatbot=gr.Chatbot(height=400),
42
  textbox=gr.Textbox(placeholder="Enter message here", container=False, scale=7),
43
  title="Chat with AI Model",
 
37
  yield text
38
 
39
  chat_interface = gr.ChatInterface(
40
+ fn=predict,
41
  chatbot=gr.Chatbot(height=400),
42
  textbox=gr.Textbox(placeholder="Enter message here", container=False, scale=7),
43
  title="Chat with AI Model",