Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,16 +10,16 @@ def main(in_text):
|
|
10 |
return answer[0]["summary_text"]
|
11 |
|
12 |
with gr.Blocks() as demo:
|
13 |
-
gr.Markdown("""# Teste Sumarizacao
|
14 |
with gr.Row():
|
15 |
with gr.Column():
|
16 |
text1 = gr.Textbox(label="""Diálogo""",
|
17 |
-
lines=1,value="""
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
)
|
24 |
output = gr.Textbox(label="Resultado")
|
25 |
b1 = gr.Button("Summarize!")
|
|
|
10 |
return answer[0]["summary_text"]
|
11 |
|
12 |
with gr.Blocks() as demo:
|
13 |
+
gr.Markdown("""# Teste Sumarizacao""")
|
14 |
with gr.Row():
|
15 |
with gr.Column():
|
16 |
text1 = gr.Textbox(label="""Diálogo""",
|
17 |
+
lines=1,value="""Usuário: Ei, você tem o número da Betty?
|
18 |
+
Assistente: Deixa eu checar
|
19 |
+
Assistente: Desculpe, não encontrei.
|
20 |
+
Assistente: Pergunte ao Larry
|
21 |
+
Assistente: Ele ligou para ela da última vez que estivemos juntos no parque
|
22 |
+
Usuário: eu não o conheço bem"""
|
23 |
)
|
24 |
output = gr.Textbox(label="Resultado")
|
25 |
b1 = gr.Button("Summarize!")
|