Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -145,4 +145,10 @@ with gr.Blocks() as demo:
|
|
145 |
outputs=[long_text, url_input, file_key]
|
146 |
)
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
demo.launch()
|
|
|
145 |
outputs=[long_text, url_input, file_key]
|
146 |
)
|
147 |
|
148 |
+
summary_btn.click(
|
149 |
+
summarize,
|
150 |
+
inputs=[long_text, url_input, file_key, summary_type, max_points, max_characters],
|
151 |
+
outputs=summary
|
152 |
+
)
|
153 |
+
|
154 |
demo.launch()
|