nos commited on
Commit
af13407
1 Parent(s): d53ee18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -48,15 +48,15 @@ def flip_image(x):
48
 
49
  with gr.Blocks() as demo:
50
  with gr.Tab("Chat"):
51
- with gr.Row(equal_height=False):
52
- chatbot = gr.Chatbot()
53
- msg = gr.Textbox()
54
- clear = gr.ClearButton([msg, chatbot])
55
-
56
- msg.submit(respond, [msg, chatbot], [msg, chatbot])
57
- ## gr.ChatInterface(
58
- ## respond
59
- ## )
60
  with gr.Tab("ELS"):
61
  with gr.Row():
62
  image_input = gr.Image()
 
48
 
49
  with gr.Blocks() as demo:
50
  with gr.Tab("Chat"):
51
+ with gr.Row(equal_height=True):
52
+ #chatbot = gr.Chatbot()
53
+ #msg = gr.Textbox()
54
+ #clear = gr.ClearButton([msg, chatbot])
55
+
56
+ #msg.submit(respond, [msg, chatbot], [msg, chatbot])
57
+ gr.ChatInterface(
58
+ respond
59
+ )
60
  with gr.Tab("ELS"):
61
  with gr.Row():
62
  image_input = gr.Image()