Spaces:
Sleeping
Sleeping
change spelling error
Browse filesFRPOM IterferenceClient TO INferenceClient
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
#import random as rn
|
| 3 |
from huggingface_hub import InferenceClient
|
| 4 |
|
| 5 |
-
client =
|
| 6 |
|
| 7 |
def respond(message, history):
|
| 8 |
messages = [{"role": "system", "content": "You are a friendly chatbot."}]
|
|
|
|
| 2 |
#import random as rn
|
| 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 a friendly chatbot."}]
|