Spaces:
Sleeping
Sleeping
Commit ·
d44f066
1
Parent(s): 3bb52d2
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,4 +11,11 @@ def Mail_Prediction(Email):
|
|
| 11 |
return final_result
|
| 12 |
elif(result[0]==0):
|
| 13 |
final_result="SPAM"
|
| 14 |
-
return final_result
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
return final_result
|
| 12 |
elif(result[0]==0):
|
| 13 |
final_result="SPAM"
|
| 14 |
+
return final_result
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
interface=gr.Interface(fn=Mail_Prediction,inputs=[gr.inputs.Textbox(lines=2,placeholder="Enter your Email",label="Spam Email Checker")],
|
| 18 |
+
outputs=[gr.outputs.Textbox(label="Your result")],
|
| 19 |
+
enable_queu=True
|
| 20 |
+
)
|
| 21 |
+
interface.launch(debug=True)
|