Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def upload_file(files):
|
|
6 |
|
7 |
with gr.Blocks() as demo:
|
8 |
file_output = gr.File()
|
9 |
-
upload_button = gr.UploadButton("
|
10 |
upload_button.upload(upload_file, upload_button, file_output)
|
11 |
|
12 |
demo.launch()
|
|
|
6 |
|
7 |
with gr.Blocks() as demo:
|
8 |
file_output = gr.File()
|
9 |
+
upload_button = gr.UploadButton("Please upload a PDF that contains an abstract. I will provide a one-sentence summary of the abstract and will say the summary out loud.", file_types=["image", "video"], file_count="multiple")
|
10 |
upload_button.upload(upload_file, upload_button, file_output)
|
11 |
|
12 |
demo.launch()
|