File size: 257 Bytes
6c8d0d0
a035a0c
6a7f534
a035a0c
6a7f534
a035a0c
6a7f534
6c8d0d0
6a7f534
 
a035a0c
1
2
3
4
5
6
7
8
9
10
11
import random
import gradio as gr
from huggingface_hub import InferenceClient

client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")

def respond(message, history):
    return random.choice(["Yes", "No"])

chatbot = gr.ChatInterface(respond)
chatbot.launch()