Update app.py
Browse files
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",
|
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 |
],
|