Spaces:
Build error
Build error
Update app.py
Browse files
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"):
|
|
|
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")
|