Spaces:
Build error
Build error
Update app.py
Browse files12345678import gradio as grdef echo(message, history):return messagechatbot = gr.ChatInterface(echo)chatbot.launch()12345678910import gradio as grimport randomdef magic_eight_ball(message, history):responses = ["Yes, definitely!", "No not at all." , "If you put your heart into it! Of course!", "I'm not sure.." , "Ask again later!"]return random.choice(responses)chatbot = gr.ChatInterface(magic_eight_ball)chatbot.launch()
app.py+5-3