Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,8 @@ with gr.Blocks() as demo:
|
|
273 |
download_button = gr.Button("📚 Download All Papers", variant="primary")
|
274 |
download_output = gr.Textbox(label="Download Status")
|
275 |
download_links = gr.HTML(label="Download Links")
|
276 |
-
|
|
|
277 |
download_button.click(fn=download_all_papers, inputs=None, outputs=[download_output, download_links, text_output])
|
278 |
|
279 |
# Load initial data for all tabs
|
|
|
273 |
download_button = gr.Button("📚 Download All Papers", variant="primary")
|
274 |
download_output = gr.Textbox(label="Download Status")
|
275 |
download_links = gr.HTML(label="Download Links")
|
276 |
+
# Updated this to gr.Code with Python as language for displaying paper contents
|
277 |
+
text_output = gr.Code(label="Paper Contents", language="python")
|
278 |
download_button.click(fn=download_all_papers, inputs=None, outputs=[download_output, download_links, text_output])
|
279 |
|
280 |
# Load initial data for all tabs
|