Spaces:
Sleeping
Sleeping
Commit
·
bbc14a1
1
Parent(s):
cd4e321
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import trainedBot as fsWorker
|
|
| 4 |
|
| 5 |
def random_response(message, history):
|
| 6 |
# trainedBot.py > predict()
|
| 7 |
-
return fsWorker.predict(message)
|
| 8 |
|
| 9 |
demo = gr.ChatInterface(random_response)
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
def random_response(message, history):
|
| 6 |
# trainedBot.py > predict()
|
| 7 |
+
return fsWorker.predict(message, history)
|
| 8 |
|
| 9 |
demo = gr.ChatInterface(random_response)
|
| 10 |
|