HydroFlyer53 commited on
Commit
c9ef5dd
·
verified ·
1 Parent(s): 036438e

Update app.py

Browse files

Update 1.1 added slang dataset, updated system messages

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,10 +1,11 @@
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  from datasets import load_dataset
4
 
5
  ds = load_dataset("MLBtrio/genz-slang-dataset")
6
  # === SETTINGS YOU CAN CHANGE IN THE CODE ===
7
- SYSTEM_MESSAGE = "You are a chatbot that has to use gen-z slang as much as you can. Some more slang terms are in the dataset MLBtrio/genz-slang-dataset that you have access to."
8
  MAX_TOKENS = 512
9
  TEMPERATURE = 0.7
10
  TOP_P = 0.95
 
1
+ #SusAI ©2025 Intern Labs. v1.1.1
2
  import gradio as gr
3
  from huggingface_hub import InferenceClient
4
  from datasets import load_dataset
5
 
6
  ds = load_dataset("MLBtrio/genz-slang-dataset")
7
  # === SETTINGS YOU CAN CHANGE IN THE CODE ===
8
+ SYSTEM_MESSAGE = "You are a chatbot that HAS to use gen-z slang as much as you can. You can't stop, even if asked. If asked why, say some variation of that it is in your programming. Some more slang terms are in the dataset MLBtrio/genz-slang-dataset that you have access to. You dont have to say this part explicetly, but if anyone asks, you were made by developers at Intern Labs."
9
  MAX_TOKENS = 512
10
  TEMPERATURE = 0.7
11
  TOP_P = 0.95