Guiyom commited on
Commit
ad51d2b
·
verified ·
1 Parent(s): e8edadb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -864,7 +864,7 @@ def main():
864
  breadth = gr.Slider(label="Research Breadth (queries per iteration)", minimum=2, maximum=10, step=1, value=4)
865
  depth = gr.Slider(label="Research Depth (iterations)", minimum=1, maximum=5, step=1, value=2)
866
 
867
- with gr.Accordion("Report", open=False, elem_classes="folder"):
868
  progress_display = gr.Markdown("", elem_id="progress-display")
869
  run_btn = gr.Button("Generate report")
870
  final_report = gr.Markdown(label="Final Report (Markdown)", height = 800, min_height = 50)
@@ -876,18 +876,18 @@ def main():
876
  report_file = gr.File(label="Download Report", visible=False, interactive=False, file_types=[".pdf"])
877
  generate_button = gr.Button("Generate Report")
878
 
879
- with gr.Accordion("Extra Context (Crumbs, Existing Report & Log)", open=False):
880
  existing_report = gr.Textbox(label="Existing Report (if any)", placeholder="Paste previously generated report here...", lines=4)
881
  existing_log = gr.Textbox(label="Existing Process Log (if any)", placeholder="Paste previously generated log here...", lines=4)
882
  crumbs_box = gr.Textbox(label="Existing Crumbs (All scraped sources, JSON)", placeholder="Paste existing crumbs JSON here...", lines=4)
883
 
884
- with gr.Accordion("Backup / Restore Fields", open=False):
885
  backup_text = gr.Textbox(label="Backup JSON", placeholder="Backup output will appear here. You can also paste JSON here to load fields.", lines=6, interactive=True)
886
  with gr.Row():
887
  backup_button = gr.Button("Backup Fields")
888
  load_button = gr.Button("Load Fields")
889
 
890
- with gr.Accordion("EXAMPLES", open=False):
891
  example_dropdown = gr.Dropdown(label="Select an Example", choices=["Implications of the release of advanced Deep Research solutions", "AI regulation in finance", "AI top voices"])
892
  load_example_button = gr.Button("Load Example")
893
 
 
864
  breadth = gr.Slider(label="Research Breadth (queries per iteration)", minimum=2, maximum=10, step=1, value=4)
865
  depth = gr.Slider(label="Research Depth (iterations)", minimum=1, maximum=5, step=1, value=2)
866
 
867
+ with gr.Accordion("5] Report", open=False, elem_classes="folder"):
868
  progress_display = gr.Markdown("", elem_id="progress-display")
869
  run_btn = gr.Button("Generate report")
870
  final_report = gr.Markdown(label="Final Report (Markdown)", height = 800, min_height = 50)
 
876
  report_file = gr.File(label="Download Report", visible=False, interactive=False, file_types=[".pdf"])
877
  generate_button = gr.Button("Generate Report")
878
 
879
+ with gr.Accordion("6] Extra Context (Crumbs, Existing Report & Log)", open=False):
880
  existing_report = gr.Textbox(label="Existing Report (if any)", placeholder="Paste previously generated report here...", lines=4)
881
  existing_log = gr.Textbox(label="Existing Process Log (if any)", placeholder="Paste previously generated log here...", lines=4)
882
  crumbs_box = gr.Textbox(label="Existing Crumbs (All scraped sources, JSON)", placeholder="Paste existing crumbs JSON here...", lines=4)
883
 
884
+ with gr.Accordion("7] Backup / Restore Fields", open=False):
885
  backup_text = gr.Textbox(label="Backup JSON", placeholder="Backup output will appear here. You can also paste JSON here to load fields.", lines=6, interactive=True)
886
  with gr.Row():
887
  backup_button = gr.Button("Backup Fields")
888
  load_button = gr.Button("Load Fields")
889
 
890
+ with gr.Accordion("-- EXAMPLES --", open=False):
891
  example_dropdown = gr.Dropdown(label="Select an Example", choices=["Implications of the release of advanced Deep Research solutions", "AI regulation in finance", "AI top voices"])
892
  load_example_button = gr.Button("Load Example")
893