Be2Jay commited on
Commit
2bee1bf
Β·
verified Β·
1 Parent(s): 69a2e28

fix: gr.Code language param incompatible with gradio 5

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -859,7 +859,7 @@ Query Input
859
  # ── Tab 4: Citation ───────────────────────
860
  with gr.Tab("πŸ“š Citation"):
861
  gr.HTML('<div class="section-header">BibTeX</div>')
862
- gr.Code(value=BIBTEX, language="", label="BibTeX")
863
 
864
  gr.Markdown("""
865
  ### Links
 
859
  # ── Tab 4: Citation ───────────────────────
860
  with gr.Tab("πŸ“š Citation"):
861
  gr.HTML('<div class="section-header">BibTeX</div>')
862
+ gr.Textbox(value=BIBTEX, label="BibTeX", lines=10, max_lines=15)
863
 
864
  gr.Markdown("""
865
  ### Links