amendolajine commited on
Commit
b303ff0
·
1 Parent(s): 76634ff

Update app.py

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