Spaces:
Sleeping
Sleeping
Commit
·
e3d4a3e
1
Parent(s):
f89b0ca
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def Mail_Prediction(Email):
|
|
| 11 |
return final_result
|
| 12 |
elif(result[0]==0):
|
| 13 |
final_result="SPAM"
|
| 14 |
-
|
| 15 |
|
| 16 |
|
| 17 |
interface=gr.Interface(fn=Mail_Prediction,inputs=[gr.inputs.Textbox(lines=2,placeholder="Enter your Email",label="Spam Email Checker")],
|
|
|
|
| 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")],
|