Spaces:
Runtime error
Runtime error
frostymelonade commited on
Commit Β·
f03f842
1
Parent(s): 17b108d
Changed label for the returned probabilities
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def classify_pun(text):
|
|
| 24 |
with gr.Blocks() as demo:
|
| 25 |
text = gr.Textbox(label="Text")
|
| 26 |
output = gr.Textbox(label="Classification")
|
| 27 |
-
output2 = gr.Textbox(label="
|
| 28 |
greet_btn = gr.Button("Submit")
|
| 29 |
greet_btn.click(fn=classify_pun, inputs=text, outputs=[output, output2], api_name="classify_pun")
|
| 30 |
|
|
|
|
| 24 |
with gr.Blocks() as demo:
|
| 25 |
text = gr.Textbox(label="Text")
|
| 26 |
output = gr.Textbox(label="Classification")
|
| 27 |
+
output2 = gr.Textbox(label="Raw Results")
|
| 28 |
greet_btn = gr.Button("Submit")
|
| 29 |
greet_btn.click(fn=classify_pun, inputs=text, outputs=[output, output2], api_name="classify_pun")
|
| 30 |
|