Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -212,7 +212,7 @@ with gr.Blocks() as iface:
|
|
| 212 |
# ### Mode; response here:
|
| 213 |
|
| 214 |
# Submit button - Passes selected question to the model
|
| 215 |
-
|
| 216 |
# with gr.Row():
|
| 217 |
# with gr.Column(scale=2):
|
| 218 |
# model_dropdown = gr.Dropdown(
|
|
@@ -220,8 +220,8 @@ with gr.Blocks() as iface:
|
|
| 220 |
# label="Select Model",
|
| 221 |
# value=None
|
| 222 |
# )
|
| 223 |
-
|
| 224 |
-
|
| 225 |
|
| 226 |
# Define button actions
|
| 227 |
radio_section.change(
|
|
|
|
| 212 |
# ### Mode; response here:
|
| 213 |
|
| 214 |
# Submit button - Passes selected question to the model
|
| 215 |
+
with gr.Row():
|
| 216 |
# with gr.Row():
|
| 217 |
# with gr.Column(scale=2):
|
| 218 |
# model_dropdown = gr.Dropdown(
|
|
|
|
| 220 |
# label="Select Model",
|
| 221 |
# value=None
|
| 222 |
# )
|
| 223 |
+
submit_button = gr.Button("Submit", interactive=False)
|
| 224 |
+
clear_button = gr.Button("Clear", interactive=False)
|
| 225 |
|
| 226 |
# Define button actions
|
| 227 |
radio_section.change(
|