summarize2
Browse files
app.py
CHANGED
@@ -226,11 +226,11 @@ With no need for jargon, SSDS delivers tangible value to our fintech operations.
|
|
226 |
""")
|
227 |
|
228 |
with gr.Tab("Generative AI Summarization"):
|
229 |
-
in_sum = gr.Textbox(placeholder="Customer service was terrible. Called the number for accounts and forced to listen to advertisements from their partners with no escape. When it was finally over it just went to a loop with a number to call for more promotional offers. Called a different number and got transferred from a human back to their answering service-- which hung up on me.",
|
230 |
label="Long Text",
|
231 |
info="Summarization"
|
232 |
)
|
233 |
-
out_sum = gr.
|
234 |
|
235 |
btn_sum = gr.Button("Find Similar Verbatim")
|
236 |
btn_sum.click(fn=summarize, inputs=in_sum, outputs=out_sum)
|
|
|
226 |
""")
|
227 |
|
228 |
with gr.Tab("Generative AI Summarization"):
|
229 |
+
in_sum = gr.Textbox(placeholder="Customer service was terrible. Called the number for accounts and forced to listen to advertisements from their partners with no escape. When it was finally over it just went to a loop with a number to call for more promotional offers. Called a different number and got transferred from a human back to their answering service-- which hung up on me.", lines=7,
|
230 |
label="Long Text",
|
231 |
info="Summarization"
|
232 |
)
|
233 |
+
out_sum = gr.Textbox(label="Summarized Verbatim")
|
234 |
|
235 |
btn_sum = gr.Button("Find Similar Verbatim")
|
236 |
btn_sum.click(fn=summarize, inputs=in_sum, outputs=out_sum)
|