zxcgqq commited on
Commit
6323131
·
1 Parent(s): f267c21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -5,10 +5,11 @@ def run_text(text, state):
5
  state = state + [(text, res)]
6
  return state,state
7
 
8
- with gr.Row():
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: