Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ def summarize_pdf (pdf_file_path, custom_prompt=""):
|
|
| 12 |
return summary
|
| 13 |
|
| 14 |
|
| 15 |
-
input_pdf_path = gr.
|
| 16 |
-
output_summary = gr.
|
| 17 |
|
| 18 |
interface = gr.Interface(
|
| 19 |
fn = summarize_pdf,
|
|
|
|
| 12 |
return summary
|
| 13 |
|
| 14 |
|
| 15 |
+
input_pdf_path = gr.Textbox(label="Enter the PDF file path")
|
| 16 |
+
output_summary = gr.Textbox(label="Summary")
|
| 17 |
|
| 18 |
interface = gr.Interface(
|
| 19 |
fn = summarize_pdf,
|