Siyuan Hu commited on
Commit
d96c704
Β·
1 Parent(s): 227545d

fix(gradio): remove unsupported 'info' arg from gr.File to prevent runtime TypeError

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -790,10 +790,7 @@ The framework builds upon [CAMEL-ai](https://github.com/camel-ai/camel).
790
  with gr.Accordion("Output", open=True):
791
  logs_out = gr.Textbox(label="🧾 Logs (8–10 minutes)", lines=30, max_lines=50)
792
  pdf_out = gr.HTML(label="πŸ“„ Poster (PDF Preview)")
793
- zip_out = gr.File(
794
- label="πŸ“¦ Download Results (.zip)",
795
- info="πŸ“Œ After uploading the ZIP to Overleaf, please select **XeLaTeX** as the compile engine.",
796
- )
797
  overleaf_out = gr.HTML(label="Open in Overleaf")
798
  debug_btn = gr.Button("🐞 Debug PDF", variant="secondary")
799
  debug_out = gr.HTML(label="🐞 Debug Preview")
 
790
  with gr.Accordion("Output", open=True):
791
  logs_out = gr.Textbox(label="🧾 Logs (8–10 minutes)", lines=30, max_lines=50)
792
  pdf_out = gr.HTML(label="πŸ“„ Poster (PDF Preview)")
793
+ zip_out = gr.File(label="πŸ“¦ Download Results (.zip)")
 
 
 
794
  overleaf_out = gr.HTML(label="Open in Overleaf")
795
  debug_btn = gr.Button("🐞 Debug PDF", variant="secondary")
796
  debug_out = gr.HTML(label="🐞 Debug Preview")