Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -343,7 +343,7 @@ if __name__ == "__main__":
|
|
343 |
"- **Update May 1, 2023:** Enabled faster inference times via `use_cache=True`, the number of words the model will processed has been increased! Not on this demo, but there is a [test model](https://huggingface.co/pszemraj/led-large-book-summary-continued) available: an extension of `led-large-book-summary`."
|
344 |
)
|
345 |
gr.Markdown("---")
|
346 |
-
|
347 |
load_examples_button.click(
|
348 |
fn=load_single_example_text, inputs=[example_name], outputs=[input_text]
|
349 |
)
|
@@ -351,7 +351,7 @@ if __name__ == "__main__":
|
|
351 |
load_file_button.click(
|
352 |
fn=load_uploaded_file, inputs=uploaded_file, outputs=[input_text]
|
353 |
)
|
354 |
-
|
355 |
summarize_button.click(
|
356 |
fn=proc_submission,
|
357 |
inputs=[
|
|
|
343 |
"- **Update May 1, 2023:** Enabled faster inference times via `use_cache=True`, the number of words the model will processed has been increased! Not on this demo, but there is a [test model](https://huggingface.co/pszemraj/led-large-book-summary-continued) available: an extension of `led-large-book-summary`."
|
344 |
)
|
345 |
gr.Markdown("---")
|
346 |
+
'''
|
347 |
load_examples_button.click(
|
348 |
fn=load_single_example_text, inputs=[example_name], outputs=[input_text]
|
349 |
)
|
|
|
351 |
load_file_button.click(
|
352 |
fn=load_uploaded_file, inputs=uploaded_file, outputs=[input_text]
|
353 |
)
|
354 |
+
'''
|
355 |
summarize_button.click(
|
356 |
fn=proc_submission,
|
357 |
inputs=[
|