gabrielchua commited on
Commit
559dac3
1 Parent(s): 2042c37

fix note for PDF

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -115,13 +115,12 @@ def generate_podcast(file: str, tone: Optional[str] = None, length: Optional[str
115
 
116
  demo = gr.Interface(
117
  title="Open NotebookLM",
118
- description="Convert your PDFs into podcasts with open-source AI models (Llama 3.1 405B and MeloTTS).",
119
  fn=generate_podcast,
120
  inputs=[
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"],
 
115
 
116
  demo = gr.Interface(
117
  title="Open NotebookLM",
118
+ description="Convert your PDFs into podcasts with open-source AI models (Llama 3.1 405B and MeloTTS). \n \n 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.",
119
  fn=generate_podcast,
120
  inputs=[
121
  gr.File(
122
  label="PDF",
123
  file_types=[".pdf", "file/*"],
 
124
  ),
125
  gr.Radio(
126
  choices=["Fun", "Formal"],