Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,15 +68,6 @@ with gr.Blocks() as demo:
|
|
| 68 |
inputs=file_input,
|
| 69 |
outputs=text_output
|
| 70 |
)
|
| 71 |
-
|
| 72 |
-
gr.Examples(
|
| 73 |
-
examples=["example.pdf"], # Replace with actual example files if available
|
| 74 |
-
inputs=file_input,
|
| 75 |
-
outputs=text_output,
|
| 76 |
-
fn=process_pdf,
|
| 77 |
-
cache_examples=True,
|
| 78 |
-
label="Try an example"
|
| 79 |
-
)
|
| 80 |
|
| 81 |
# Run the app
|
| 82 |
if __name__ == "__main__":
|
|
|
|
| 68 |
inputs=file_input,
|
| 69 |
outputs=text_output
|
| 70 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
# Run the app
|
| 73 |
if __name__ == "__main__":
|