Spaces:
Sleeping
Sleeping
Update app.py
Browse files1 unmodified line23456722 unmodified lines3031323334351 unmodified lineimport randomfrom huggingface_hub import InferenceClientclient = InferenceClient ("HuggingFaceH4/zephyr-7b-beta") #change the LLMdef respond(message, history):22 unmodified linesrandom_choices = random.choice(choices)return random_choiceschatbot = gr.ChatInterface(respond, type = "messages", theme = "gr.themes.Glass()")chatbot.launch(debug=True)1 unmodified line234567891011121322 unmodified lines3637383940411 unmodified lineimport randomfrom huggingface_hub import InferenceClientgr.themes.builder(primary_hue = pinksecondary_hue = cyannuetral_hue = gray)client = InferenceClient ("HuggingFaceH4/zephyr-7b-beta") #change the LLMdef respond(message, history):22 unmodified linesrandom_choices = random.choice(choices)return random_choiceschatbot = gr.ChatInterface(respond, type = "messages")chatbot.launch(debug=True)
app.py+7-1