amendolajine commited on
Commit
2a7b912
·
1 Parent(s): cc7fa79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def process_text(pdf_content):
44
  # Gradio Interface
45
  iface = gr.Interface(
46
  fn=process_text,
47
- inputs=gr.inputs.File(label="Upload PDF"),
48
  outputs=["text", "audio"],
49
  title="Summarization and Text-to-Speech",
50
  description="Upload a PDF to extract, summarize its abstract, and convert to speech."
 
44
  # Gradio Interface
45
  iface = gr.Interface(
46
  fn=process_text,
47
+ inputs=gr.File(label="Upload PDF"),
48
  outputs=["text", "audio"],
49
  title="Summarization and Text-to-Speech",
50
  description="Upload a PDF to extract, summarize its abstract, and convert to speech."