RAG-Interface / run.py
freddyaboulton's picture
Upload folder using huggingface_hub
9045a87
raw
history blame
202 Bytes
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()