Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,11 @@ def run_text(text, state):
|
|
5 |
state = state + [(text, res)]
|
6 |
return state,state
|
7 |
|
8 |
-
|
9 |
-
lang = gr.Radio(choices=['OpenAI', 'Bard'], value='OpenAI', label='llm')
|
10 |
|
11 |
with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
|
|
|
|
|
12 |
chatbot = gr.Chatbot(elem_id="chatbot",show_label=False)
|
13 |
state = gr.State([])
|
14 |
with gr.Row() as input_raws:
|
|
|
5 |
state = state + [(text, res)]
|
6 |
return state,state
|
7 |
|
8 |
+
|
|
|
9 |
|
10 |
with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
|
11 |
+
with gr.Row():
|
12 |
+
lang = gr.Radio(choices=['OpenAI', 'Bard'], value='OpenAI', label='llm')
|
13 |
chatbot = gr.Chatbot(elem_id="chatbot",show_label=False)
|
14 |
state = gr.State([])
|
15 |
with gr.Row() as input_raws:
|