Spaces:
Runtime error
Runtime error
| import random | |
| import gradio as gr | |
| import trainedBot as fsWorker | |
| def random_response(message, history): | |
| # trainedBot.py > predict() | |
| return fsWorker.predict(message, history) | |
| demo = gr.ChatInterface(random_response) | |
| demo.launch() | |