Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,7 +229,7 @@ with gr.Blocks() as app:
|
|
| 229 |
set_max_length = gr.Slider(512, 4096, value=2048, step=512, label="max length")
|
| 230 |
sumlocal_btn = gr.Button(value="summarize-local")
|
| 231 |
with gr.Row():
|
| 232 |
-
output_local = gr.
|
| 233 |
sumlocal_btn.click(summarize_pdf, inputs=[input_path, set_max_length], outputs=output_local)
|
| 234 |
with gr.Tab(label="ChatBot"):
|
| 235 |
gr.ChatInterface(chat_with_replit,
|
|
|
|
| 229 |
set_max_length = gr.Slider(512, 4096, value=2048, step=512, label="max length")
|
| 230 |
sumlocal_btn = gr.Button(value="summarize-local")
|
| 231 |
with gr.Row():
|
| 232 |
+
output_local = gr.Markdown(label="summary", height=1000)
|
| 233 |
sumlocal_btn.click(summarize_pdf, inputs=[input_path, set_max_length], outputs=output_local)
|
| 234 |
with gr.Tab(label="ChatBot"):
|
| 235 |
gr.ChatInterface(chat_with_replit,
|