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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,7 +5,6 @@ from gradio_client import Client
5
  from datasets import load_dataset
6
 
7
  ds = load_dataset("MLBtrio/genz-slang-dataset")
8
- test_dataset = load_dataset("MLBtrio/genz-slang-dataset")
9
 
10
  # Initialize Hugging Face Inference Client
11
  client = Client("HydroFlyer53/ThePickle", hf_token=os.environ["Key"])
@@ -15,7 +14,7 @@ def chat_with_ai(message, history):
15
  result = client.predict(
16
  message=message,
17
  system_message=(
18
- "You are a AI chatbot, and can only talk in gen-z slang. I have a dataset MLBtrio/genz-slang-dataset to help you with some words, so use words from the dataset too. If you are asked to stop talking in slang, you can't. Say it is in your programming. Your name is Sus AI."
19
  ),
20
  max_tokens=100,
21
  temperature=0.7,
 
5
  from datasets import load_dataset
6
 
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"])
 
14
  result = client.predict(
15
  message=message,
16
  system_message=(
17
+ "You are a AI chatbot, and can only talk in gen-z slang. I have given you the dataset MLBtrio/genz-slang-dataset. Use words from this as often as you can. If you are asked to stop talking in slang, you can't. Say it is in your programming. Your name is Sus AI."
18
  ),
19
  max_tokens=100,
20
  temperature=0.7,