Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,7 +194,7 @@ with gr.Blocks(theme=gr.themes.Base()) as interface:
|
|
| 194 |
|
| 195 |
with gr.Row():
|
| 196 |
# Left column for inputs
|
| 197 |
-
with gr.Column(scale=
|
| 198 |
title = gr.Textbox(label="Quiz Title", placeholder="e.g. Python Basics Quiz")
|
| 199 |
instructor = gr.Textbox(label="Instructor Name", placeholder="e.g. Dr. Ada Lovelace")
|
| 200 |
quiz_type = gr.Dropdown(
|
|
@@ -214,7 +214,7 @@ with gr.Blocks(theme=gr.themes.Base()) as interface:
|
|
| 214 |
generate_btn = gr.Button("π Generate Python Quiz Code", variant="primary")
|
| 215 |
|
| 216 |
# Right column for the generated code output
|
| 217 |
-
with gr.Column(scale=
|
| 218 |
output = gr.Code(label="Generated Python Code for Colab", language="python", lines=22)
|
| 219 |
|
| 220 |
# Link the button to the generation function
|
|
|
|
| 194 |
|
| 195 |
with gr.Row():
|
| 196 |
# Left column for inputs
|
| 197 |
+
with gr.Column(scale=2):
|
| 198 |
title = gr.Textbox(label="Quiz Title", placeholder="e.g. Python Basics Quiz")
|
| 199 |
instructor = gr.Textbox(label="Instructor Name", placeholder="e.g. Dr. Ada Lovelace")
|
| 200 |
quiz_type = gr.Dropdown(
|
|
|
|
| 214 |
generate_btn = gr.Button("π Generate Python Quiz Code", variant="primary")
|
| 215 |
|
| 216 |
# Right column for the generated code output
|
| 217 |
+
with gr.Column(scale=1):
|
| 218 |
output = gr.Code(label="Generated Python Code for Colab", language="python", lines=22)
|
| 219 |
|
| 220 |
# Link the button to the generation function
|