Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|