Spaces:
Runtime error
Runtime error
language as python
Browse files
app.py
CHANGED
|
@@ -162,8 +162,8 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
|
|
| 162 |
elem_id="q-input",
|
| 163 |
)
|
| 164 |
submit = gr.Button("Generate", variant="primary")
|
| 165 |
-
output_1 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_1} Output")
|
| 166 |
-
output_2 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_2} Output")
|
| 167 |
with gr.Row():
|
| 168 |
with gr.Column():
|
| 169 |
with gr.Accordion("Advanced settings", open=False):
|
|
|
|
| 162 |
elem_id="q-input",
|
| 163 |
)
|
| 164 |
submit = gr.Button("Generate", variant="primary")
|
| 165 |
+
output_1 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_1} Output", language="python")
|
| 166 |
+
output_2 = gr.Code(elem_id="q-output", lines=30, label=f"{model_id_2} Output", language="python")
|
| 167 |
with gr.Row():
|
| 168 |
with gr.Column():
|
| 169 |
with gr.Accordion("Advanced settings", open=False):
|