Alanturner2 commited on
Commit
741f400
·
verified ·
1 Parent(s): 65ca910

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Textbox(label="summary")
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,