savasy commited on
Commit
2fe7971
1 Parent(s): 63e3ca7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,4 +15,4 @@ def predict(text):
15
  return {"NEGATIVE":(THRESHOLD-res[0].item())/THRESHOLD},(THRESHOLD-res[0].item())/THRESHOLD
16
 
17
  import gradio as gr
18
- iface = gr.Interface(fn=predict, inputs=["text"], outputs=["label"]).launch()
15
  return {"NEGATIVE":(THRESHOLD-res[0].item())/THRESHOLD},(THRESHOLD-res[0].item())/THRESHOLD
16
 
17
  import gradio as gr
18
+ iface = gr.Interface(fn=predict, inputs=["text"], outputs=["label","number"]).launch()