siddhartharya commited on
Commit
297b79a
1 Parent(s): 7263dd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ Note: This tool uses the LLaMa 3.1 70B model for script generation and gTTS for
84
  iface = gr.Interface(
85
  fn=generate_podcast,
86
  inputs=[
87
- gr.File(label="Upload PDF file", type="file"),
88
  gr.Radio(["humorous", "casual", "formal"], label="Select podcast tone", value="casual"),
89
  gr.Radio(["Short (1-2 min)", "Medium (3-5 min)"], label="Podcast length", value="Medium (3-5 min)")
90
  ],
 
84
  iface = gr.Interface(
85
  fn=generate_podcast,
86
  inputs=[
87
+ gr.File(label="Upload PDF file", file_types=[".pdf"]),
88
  gr.Radio(["humorous", "casual", "formal"], label="Select podcast tone", value="casual"),
89
  gr.Radio(["Short (1-2 min)", "Medium (3-5 min)"], label="Podcast length", value="Medium (3-5 min)")
90
  ],