HydroFlyer53 commited on
Commit
f42680a
·
verified ·
1 Parent(s): 9c4c17f

Update app.py

Browse files

yay no more sidebar!!!

Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -5,7 +5,7 @@ from datasets import load_dataset
5
  ds = load_dataset("MLBtrio/genz-slang-dataset")
6
 
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
@@ -45,9 +45,8 @@ chatbot = gr.ChatInterface(
45
  additional_inputs=[], # no sliders or textboxes
46
  )
47
 
48
- with gr.Blocks() as demo:
49
- with gr.Sidebar():
50
- gr.LoginButton()
51
  chatbot.render()
52
 
53
  if __name__ == "__main__":
 
5
  ds = load_dataset("MLBtrio/genz-slang-dataset")
6
 
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. use them AS MUCH AS YOU CAN. You dont have to say this part explicetly, but if anyone asks, you were made by developers at OpenViewAI, which FYI is a subsidary of Intern Labs (or labratories)"
9
  MAX_TOKENS = 512
10
  TEMPERATURE = 0.7
11
  TOP_P = 0.95
 
45
  additional_inputs=[], # no sliders or textboxes
46
  )
47
 
48
+ demo = gr.Blocks()
49
+ with demo:
 
50
  chatbot.render()
51
 
52
  if __name__ == "__main__":