Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def main(in_text):
|
|
10 |
return answer[0]["summary_text"]
|
11 |
|
12 |
with gr.Blocks() as demo:
|
13 |
-
gr.Markdown("""
|
14 |
with gr.Row():
|
15 |
with gr.Column():
|
16 |
text1 = gr.Textbox(label="""Diálogo""",
|
@@ -22,7 +22,7 @@ Kleber: De acordo com minha pesquisa o número é 35 9 9898-6142"""
|
|
22 |
output = gr.Textbox(label="Resultado")
|
23 |
b1 = gr.Button("Summarize!")
|
24 |
b1.click(main, inputs=[text1], outputs=output)
|
25 |
-
gr.Markdown("""
|
26 |
|
27 |
|
28 |
if __name__ == "__main__":
|
|
|
10 |
return answer[0]["summary_text"]
|
11 |
|
12 |
with gr.Blocks() as demo:
|
13 |
+
gr.Markdown("""## Sumarizer Open Version""")
|
14 |
with gr.Row():
|
15 |
with gr.Column():
|
16 |
text1 = gr.Textbox(label="""Diálogo""",
|
|
|
22 |
output = gr.Textbox(label="Resultado")
|
23 |
b1 = gr.Button("Summarize!")
|
24 |
b1.click(main, inputs=[text1], outputs=output)
|
25 |
+
gr.Markdown("""# designed to [cloudqi]""")
|
26 |
|
27 |
|
28 |
if __name__ == "__main__":
|