Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -51,5 +51,5 @@ def train(data: str, message: str):
|
|
51 |
max_o = ind
|
52 |
return responses[ind]
|
53 |
|
54 |
-
iface = gr.Interface(fn=
|
55 |
iface.launch()
|
|
|
51 |
max_o = ind
|
52 |
return responses[ind]
|
53 |
|
54 |
+
iface = gr.Interface(fn=train, inputs=["text", "text"], outputs="text")
|
55 |
iface.launch()
|