Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
import re
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
sp_model = "SineTheta/Spam_and_bully_detection"
|
|
|
1 |
import gradio as gr
|
2 |
import re
|
3 |
+
|
4 |
+
import subprocess
|
5 |
+
import sys
|
6 |
+
|
7 |
+
def install(package):
|
8 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install",transformers])
|
9 |
+
|
10 |
from transformers import pipeline
|
11 |
|
12 |
sp_model = "SineTheta/Spam_and_bully_detection"
|