RakanAlsheraiwi commited on
Commit
d5ccd37
·
verified ·
1 Parent(s): ee3bb79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- demo.launch()
 
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()