Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
from transformers import pipeline
|
|
|
2 |
|
3 |
# Load the pipeline from your Hugging Face model
|
4 |
pipe = pipeline("text-classification", model="ZachBeesley/Spam-Detector")
|
@@ -25,4 +26,4 @@ iface = gr.Interface(
|
|
25 |
)
|
26 |
|
27 |
# Launch the interface
|
28 |
-
|
|
|
1 |
from transformers import pipeline
|
2 |
+
import gradio as gr
|
3 |
|
4 |
# Load the pipeline from your Hugging Face model
|
5 |
pipe = pipeline("text-classification", model="ZachBeesley/Spam-Detector")
|
|
|
26 |
)
|
27 |
|
28 |
# Launch the interface
|
29 |
+
iface.launch()
|