Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,9 +64,11 @@ demo = gr.Interface(
|
|
| 64 |
"Provide a URL that directly points to a PDF file (from any server). "
|
| 65 |
"The server fetches the PDF and extracts the text content, returning it in JSON format."
|
| 66 |
),
|
| 67 |
-
examples=example_urls # This adds buttons below the input box
|
|
|
|
|
|
|
| 68 |
)
|
| 69 |
|
| 70 |
if __name__ == "__main__":
|
| 71 |
-
demo.launch(mcp_server=True
|
| 72 |
|
|
|
|
| 64 |
"Provide a URL that directly points to a PDF file (from any server). "
|
| 65 |
"The server fetches the PDF and extracts the text content, returning it in JSON format."
|
| 66 |
),
|
| 67 |
+
examples=example_urls, # This adds buttons below the input box
|
| 68 |
+
allow_flagging="never" # ✅ correct in Gradio 4.x
|
| 69 |
+
)
|
| 70 |
)
|
| 71 |
|
| 72 |
if __name__ == "__main__":
|
| 73 |
+
demo.launch(mcp_server=True)
|
| 74 |
|