Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import random | |
| def respond(message, history): | |
| return random.choice(["Yes", "No"]) | |
| demo = gr.ChatInterface(fn=respond) | |
| if __name__ == "__main__": | |
| demo.launch() |
| import gradio as gr | |
| import random | |
| def respond(message, history): | |
| return random.choice(["Yes", "No"]) | |
| demo = gr.ChatInterface(fn=respond) | |
| if __name__ == "__main__": | |
| demo.launch() |