Ghosthash commited on
Commit
d12a73f
·
verified ·
1 Parent(s): e6621f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from datasets import load_dataset
4
 
5
  load_dataset("kaifahmad/Hate-Speech-Tweets")
6
  # pipe = pipeline("text-generation", model="cognitivecomputations/dolphin-2.7-mixtral-8x7b")
7
- pipe = pipeline("text-generation", model="meta-llama/Llama-3.2-1B")
8
  text = st.text_input('enter text here')
9
 
10
  if text:
 
4
 
5
  load_dataset("kaifahmad/Hate-Speech-Tweets")
6
  # pipe = pipeline("text-generation", model="cognitivecomputations/dolphin-2.7-mixtral-8x7b")
7
+ pipe = pipeline("text-generation", model="meta-llama/Llama-3.2-1B", device=1)
8
  text = st.text_input('enter text here')
9
 
10
  if text: