Spaces:
Sleeping
Sleeping
File size: 202 Bytes
9045a87 |
1 2 3 4 5 6 7 8 9 10 11 |
import random
import gradio as gr
def random_response(message, history):
return random.choice(["Yes", "No"])
demo = gr.ChatInterface(random_response)
if __name__ == "__main__":
demo.launch()
|