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(
|
@@ -20,7 +20,7 @@ with gr.Blocks() as demo:
|
|
20 |
output = gr.Textbox(label="Output Text")
|
21 |
b1 = gr.Button("Summarize!")
|
22 |
b1.click(main, inputs=[text1], outputs=output)
|
23 |
-
gr.Markdown("""#### powered by [
|
24 |
|
25 |
|
26 |
if __name__ == "__main__":
|
|
|
10 |
return answer[0]["summary_text"]
|
11 |
|
12 |
with gr.Blocks() as demo:
|
13 |
+
gr.Markdown("""# Modelo de Sumarizacao!""")
|
14 |
with gr.Row():
|
15 |
with gr.Column():
|
16 |
text1 = gr.Textbox(
|
|
|
20 |
output = gr.Textbox(label="Output Text")
|
21 |
b1 = gr.Button("Summarize!")
|
22 |
b1.click(main, inputs=[text1], outputs=output)
|
23 |
+
gr.Markdown("""#### powered by [cloudqi]""")
|
24 |
|
25 |
|
26 |
if __name__ == "__main__":
|