Spaces:
Paused
Paused
fix
Browse files
app.py
CHANGED
@@ -204,12 +204,12 @@ def clear_button_clicked(_question, _chat_bot, _app_cfg, _bt_pic):
|
|
204 |
|
205 |
with gr.Blocks() as demo:
|
206 |
with gr.Row():
|
207 |
-
with gr.Row(
|
208 |
app_session = gr.State({'sts':None,'ctx':None,'img':None})
|
209 |
bt_pic = gr.Image(label="Upload an image to start")
|
210 |
chat_bot = gr.Chatbot(label=f"Chat with {model_name}")
|
211 |
txt_message = gr.Textbox(label="Input text")
|
212 |
-
with gr.Row(
|
213 |
params_form = create_component(form_radio, comp='Radio')
|
214 |
with gr.Accordion("Beam Search", visible=False) as beams_according:
|
215 |
num_beams = create_component(num_beams_slider)
|
|
|
204 |
|
205 |
with gr.Blocks() as demo:
|
206 |
with gr.Row():
|
207 |
+
with gr.Row():
|
208 |
app_session = gr.State({'sts':None,'ctx':None,'img':None})
|
209 |
bt_pic = gr.Image(label="Upload an image to start")
|
210 |
chat_bot = gr.Chatbot(label=f"Chat with {model_name}")
|
211 |
txt_message = gr.Textbox(label="Input text")
|
212 |
+
with gr.Row():
|
213 |
params_form = create_component(form_radio, comp='Radio')
|
214 |
with gr.Accordion("Beam Search", visible=False) as beams_according:
|
215 |
num_beams = create_component(num_beams_slider)
|