Spaces:
Runtime error
Runtime error
Commit
•
0b3596b
1
Parent(s):
62b0f91
Update app.py
Browse files
app.py
CHANGED
@@ -17,13 +17,10 @@ with gr.Blocks() as demo:
|
|
17 |
label="Input Text",
|
18 |
lines=1,
|
19 |
)
|
20 |
-
output =
|
21 |
-
gr.Textbox(label="Hotness Score", default="Holy fucking fuck"),
|
22 |
-
gr.Textbox(label="Beauty Score", default="That body of yours is insane"),
|
23 |
-
gr.Textbox(label="Attractiveness Score", default="hot"),
|
24 |
-
]
|
25 |
b1 = gr.Button("Summarize!")
|
26 |
-
b1.click(main,
|
|
|
27 |
|
28 |
|
29 |
if __name__ == "__main__":
|
|
|
17 |
label="Input Text",
|
18 |
lines=1,
|
19 |
)
|
20 |
+
output = gr.Textbox(label="Output Text")
|
|
|
|
|
|
|
|
|
21 |
b1 = gr.Button("Summarize!")
|
22 |
+
b1.click(main, inputs=[text1], outputs=output, api_name="s")
|
23 |
+
|
24 |
|
25 |
|
26 |
if __name__ == "__main__":
|