Spaces:
Sleeping
Sleeping
Commit
·
b2532fe
1
Parent(s):
055be58
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
import random
|
2 |
import gradio as gr
|
|
|
3 |
|
4 |
def random_response(message, history):
|
5 |
-
|
|
|
6 |
|
7 |
demo = gr.ChatInterface(random_response)
|
8 |
|
|
|
1 |
import random
|
2 |
import gradio as gr
|
3 |
+
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 |
|