camparchimedes commited on
Commit
6523d6c
·
verified ·
1 Parent(s): abc89d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -294,7 +294,8 @@ with iface:
294
  summarize_uploaded_button_graph = gr.Button("Upload Text to Summarize, Click Here")
295
  summarize_uploaded_button_graph.click(fn=graph_based_summary(file_upload), inputs=[text_input_graph], outputs=[summary_output_graph])
296
 
297
- with gr.TabItem("Summary | LexRank"):with gr.Blocks():
 
298
  text_output = gr.Textbox(label="Transcription Output")
299
  text_input_lex = gr.Textbox(label="Input Text", placeholder="txt2summarize")
300
  summary_output_lex = gr.Textbox(label="LexRank | cosine similarity")
 
294
  summarize_uploaded_button_graph = gr.Button("Upload Text to Summarize, Click Here")
295
  summarize_uploaded_button_graph.click(fn=graph_based_summary(file_upload), inputs=[text_input_graph], outputs=[summary_output_graph])
296
 
297
+ with gr.TabItem("Summary | LexRank"):
298
+ with gr.Blocks():
299
  text_output = gr.Textbox(label="Transcription Output")
300
  text_input_lex = gr.Textbox(label="Input Text", placeholder="txt2summarize")
301
  summary_output_lex = gr.Textbox(label="LexRank | cosine similarity")