ParulPandey commited on
Commit
fad3d57
Β·
verified Β·
1 Parent(s): db3291d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=1):
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=2):
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