aquibmoin commited on
Commit
b669cb7
·
verified ·
1 Parent(s): 7bfd1fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -503,7 +503,7 @@ with gr.Blocks() as demo:
503
  # User Inputs
504
  gr.Markdown("## **User Inputs**")
505
  user_input = gr.Textbox(lines=5, placeholder="Enter your Science Goal...", label="Science Goal")
506
- context = gr.Textbox(lines=10, placeholder="Enter Context Text...", label="Context")
507
  subdomain = gr.Textbox(lines=2, placeholder="Define your Subdomain...", label="Subdomain Definition")
508
 
509
  # PDF Upload Section (Up to 3 PDFs)
@@ -511,7 +511,7 @@ with gr.Blocks() as demo:
511
  uploaded_pdfs = gr.Files(file_types=[".pdf"], label="Upload Reference PDFs (Up to 3)", interactive=True)
512
 
513
  # Science Objectives Button & Input (Initially Hidden)
514
- science_objectives_button = gr.Button("Manually Enter Science Objectives")
515
  science_objectives_input = gr.Textbox(
516
  lines=5,
517
  placeholder="Enter Science Objectives...",
 
503
  # User Inputs
504
  gr.Markdown("## **User Inputs**")
505
  user_input = gr.Textbox(lines=5, placeholder="Enter your Science Goal...", label="Science Goal")
506
+ context = gr.Textbox(lines=10, placeholder="Enter Context Text...", label="Additional Context")
507
  subdomain = gr.Textbox(lines=2, placeholder="Define your Subdomain...", label="Subdomain Definition")
508
 
509
  # PDF Upload Section (Up to 3 PDFs)
 
511
  uploaded_pdfs = gr.Files(file_types=[".pdf"], label="Upload Reference PDFs (Up to 3)", interactive=True)
512
 
513
  # Science Objectives Button & Input (Initially Hidden)
514
+ science_objectives_button = gr.Button("User-defined Science Objectives [Optional]")
515
  science_objectives_input = gr.Textbox(
516
  lines=5,
517
  placeholder="Enter Science Objectives...",