minko186 commited on
Commit
b4801aa
·
verified ·
1 Parent(s): 2391565

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -229,7 +229,7 @@ def generate(
229
  def create_app():
230
  with gr.Blocks() as app:
231
  with gr.Row():
232
- with gr.Column():
233
  topic_input = gr.Textbox(
234
  label="Topic",
235
  placeholder="Enter the main topic of your article",
@@ -280,7 +280,7 @@ def create_app():
280
 
281
  pdf_input = gr.File(label="Upload PDFs", file_types=["pdf"], file_count="multiple")
282
  generate_button = gr.Button("Generate")
283
- with gr.Column():
284
  generated_text_output = gr.Textbox(label="Generated Text", lines=10)
285
  citations_output = gr.Textbox(label="Citations", lines=10)
286
 
 
229
  def create_app():
230
  with gr.Blocks() as app:
231
  with gr.Row():
232
+ with gr.Column(scale=2):
233
  topic_input = gr.Textbox(
234
  label="Topic",
235
  placeholder="Enter the main topic of your article",
 
280
 
281
  pdf_input = gr.File(label="Upload PDFs", file_types=["pdf"], file_count="multiple")
282
  generate_button = gr.Button("Generate")
283
+ with gr.Column(scale=3):
284
  generated_text_output = gr.Textbox(label="Generated Text", lines=10)
285
  citations_output = gr.Textbox(label="Citations", lines=10)
286