josiauhlol's picture
Update app.py
bbc14a1
raw
history blame contribute delete
No virus
239 Bytes
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()