Bhaskar2611 commited on
Commit
79a62a7
·
verified ·
1 Parent(s): 27992f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def predict(message, history):
117
  return gpt_response.content
118
 
119
  # Using ChatInterface to create a chat-style UI
120
- demo = gr.ChatInterface(fn=predict, type="messages")
121
 
122
  if __name__ == "__main__":
123
  demo.launch()
 
117
  return gpt_response.content
118
 
119
  # Using ChatInterface to create a chat-style UI
120
+ demo = gr.Interface(fn=predict, type="messages")
121
 
122
  if __name__ == "__main__":
123
  demo.launch()