bhavya-k commited on
Commit
1acdb3d
·
verified ·
1 Parent(s): b5b1fe3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -90,7 +90,9 @@ def respond(message,history):
90
  #print(response["choices"][0]["message"]["content"].strip())
91
 
92
  #yield response["choices"][0]["message"]["content"].strip()
93
- chatbot = gr.ChatInterface()
 
 
94
  with gr.Blocks(theme='hmb/amethyst') as demo:
95
  with gr.Row(equal_height=True):
96
  with gr.Column(scale=10):
 
90
  #print(response["choices"][0]["message"]["content"].strip())
91
 
92
  #yield response["choices"][0]["message"]["content"].strip()
93
+
94
+ chatbot = gr.ChatInterface(respond, type='message')
95
+
96
  with gr.Blocks(theme='hmb/amethyst') as demo:
97
  with gr.Row(equal_height=True):
98
  with gr.Column(scale=10):