Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,5 +21,5 @@ def classify(text: str, response: str):
|
|
21 |
else:
|
22 |
return "Irrelevant "+str(prediction)
|
23 |
|
24 |
-
iface = gr.Interface(fn=
|
25 |
iface.launch()
|
|
|
21 |
else:
|
22 |
return "Irrelevant "+str(prediction)
|
23 |
|
24 |
+
iface = gr.Interface(fn=classify, inputs=["text", "text"], outputs="text")
|
25 |
iface.launch()
|