Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from datasets import load_dataset
|
|
7 |
ds = load_dataset("MLBtrio/genz-slang-dataset")
|
8 |
|
9 |
# Initialize Hugging Face Inference Client
|
10 |
-
client = Client("HydroFlyer53/ThePickle", hf_token=os.environ["Key"])
|
11 |
|
12 |
def chat_with_ai(message, history):
|
13 |
"""Function to get AI response from Hugging Face model."""
|
|
|
7 |
ds = load_dataset("MLBtrio/genz-slang-dataset")
|
8 |
|
9 |
# Initialize Hugging Face Inference Client
|
10 |
+
client = Client.load("HydroFlyer53/ThePickle", hf_token=os.environ["Key"])
|
11 |
|
12 |
def chat_with_ai(message, history):
|
13 |
"""Function to get AI response from Hugging Face model."""
|