HydroFlyer53 commited on
Commit
5d6892e
·
verified ·
1 Parent(s): c1c1312

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,6 +1,5 @@
1
  #SusAI ©2025 Intern Labs. v1.1.1
2
  import os
3
- import InferenceClient
4
  import gradio as gr
5
  from gradio_client import Client
6
  from datasets import load_dataset
@@ -8,7 +7,7 @@ from datasets import load_dataset
8
  ds = load_dataset("MLBtrio/genz-slang-dataset")
9
 
10
  # Initialize Hugging Face Inference Client
11
- client = InferenceClient("HydroFlyer53/ThePickle", hf_token=os.environ["Key"])
12
 
13
  def chat_with_ai(message, history):
14
  """Function to get AI response from Hugging Face model."""
 
1
  #SusAI ©2025 Intern Labs. v1.1.1
2
  import os
 
3
  import gradio as gr
4
  from gradio_client import Client
5
  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."""