redjkh commited on
Commit
09addd5
·
verified ·
1 Parent(s): 3371906

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,10 +2,10 @@ import gradio as gr
2
  import random as r
3
  from huggingface_hub import InferenceClient
4
 
5
- client = InferenceClient("sshl/shallow-recipe-generator-0.1")
6
 
7
  def respond(message, history):
8
- messages = [{"role": "system", "content": "You are a friendly chatbot."}]
9
  if history:
10
  messages.extend(history)
11
  messages.append({"role": "user", "content": message})
 
2
  import random as r
3
  from huggingface_hub import InferenceClient
4
 
5
+ client = InferenceClient("microsoft/phi-4")
6
 
7
  def respond(message, history):
8
+ messages = [{"role": "system", "content": "You are an unfriendly chatbot."}]
9
  if history:
10
  messages.extend(history)
11
  messages.append({"role": "user", "content": message})