Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ from transformers import pipeline
|
|
| 3 |
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", device=1)
|
| 8 |
text = st.text_input('enter text here')
|
|
|
|
| 3 |
from datasets import load_dataset
|
| 4 |
|
| 5 |
load_dataset("kaifahmad/Hate-Speech-Tweets")
|
| 6 |
+
load_dataset("m-newhauser/distilbert-political-tweets")
|
| 7 |
# pipe = pipeline("text-generation", model="cognitivecomputations/dolphin-2.7-mixtral-8x7b")
|
| 8 |
pipe = pipeline("text-generation", model="meta-llama/Llama-3.2-1B", device=1)
|
| 9 |
text = st.text_input('enter text here')
|