Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -228,8 +228,8 @@ def generate_interface():
|
|
| 228 |
generate_button = gr.Button("Generate Question Paper")
|
| 229 |
|
| 230 |
with gr.Row():
|
| 231 |
-
output_text = gr.Textbox(label="Generated Question Paper", lines=10, interactive=False)
|
| 232 |
-
download_button = gr.File(label="Download as Word Document")
|
| 233 |
|
| 234 |
# Update the visibility of section inputs based on `number_of_sections`
|
| 235 |
def update_section_inputs(number_of_sections):
|
|
|
|
| 228 |
generate_button = gr.Button("Generate Question Paper")
|
| 229 |
|
| 230 |
with gr.Row():
|
| 231 |
+
output_text = gr.Textbox(label="Generated Question Paper", lines=10, interactive=False, scale=1)
|
| 232 |
+
download_button = gr.File(label="Download as Word Document", scale=1)
|
| 233 |
|
| 234 |
# Update the visibility of section inputs based on `number_of_sections`
|
| 235 |
def update_section_inputs(number_of_sections):
|