HydroFlyer53 commited on
Commit
74eaf45
·
verified ·
1 Parent(s): ab72cf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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."""