Ghosthash commited on
Commit
98e9517
·
verified ·
1 Parent(s): 3c59460

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ 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
  text = st.text_input('enter text here')
8
 
9
  if text:
 
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")
8
  text = st.text_input('enter text here')
9
 
10
  if text: