frostymelonade commited on
Commit
f03f842
Β·
1 Parent(s): 17b108d

Changed label for the returned probabilities

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="Probabilities")
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