CoolFace
Apppublic

cmbtest/new-space3

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
app.py11 linesDownload Raw Back to root
1import random2import gradio as gr3 4def random_response(message, history):5    return random.choice(["Yes", "No"])6 7demo = gr.ChatInterface(random_response, type="messages", autofocus=False)8 9if __name__ == "__main__":10    demo.launch()11