nos commited on
Commit
21eadfe
·
verified ·
1 Parent(s): 7cf0168

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -61,11 +61,11 @@ def flip_image(x):
61
  with gr.Blocks() as demo:
62
 
63
  with gr.Tab("Chat"):
64
- chatbot = gr.Chatbot()
65
- msg = gr.Textbox()
66
- clear = gr.ClearButton([msg, chatbot])
67
- button = gr.Button([msg, chatbot])
68
- msg.submit(respond, [msg, chatbot], [msg, chatbot])
69
  with gr.Tab("ELS"):
70
  with gr.Row():
71
  text1 = gr.Textbox(label="Prompt to gematria conversion for apply ELS",scale=3)
 
61
  with gr.Blocks() as demo:
62
 
63
  with gr.Tab("Chat"):
64
+ chatbot = gr.Chatbot(scale=5)
65
+ msg = gr.Textbox(scale=3)
66
+ clear = gr.ClearButton([msg, chatbot],scale=1)
67
+ button = gr.Button("Send",scale=1)
68
+ msg.submit(respond, msg, chatbot)
69
  with gr.Tab("ELS"):
70
  with gr.Row():
71
  text1 = gr.Textbox(label="Prompt to gematria conversion for apply ELS",scale=3)