gabrielchua commited on
Commit
2042c37
1 Parent(s): 293d00a

add note for PDF

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -121,6 +121,7 @@ demo = gr.Interface(
121
  gr.File(
122
  label="PDF",
123
  file_types=[".pdf", "file/*"],
 
124
  ),
125
  gr.Radio(
126
  choices=["Fun", "Formal"],
 
121
  gr.File(
122
  label="PDF",
123
  file_types=[".pdf", "file/*"],
124
+ description="Upload a PDF file. Note: Only the text content of the PDF will be processed. Images and tables are not included. The PDF should be no more than 100,000 characters due to the context length of Llama 3.1 405B.",
125
  ),
126
  gr.Radio(
127
  choices=["Fun", "Formal"],