Spaces:
Running
Running
Fix constant prediction
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def predict(input_txt):
|
4 |
-
return 0.
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
fn=predict,
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def predict(input_txt):
|
4 |
+
return 0.46 # Worldwide spam rate in 2023. Source: https://securelist.com/spam-phishing-report-2023/112015/
|
5 |
|
6 |
demo = gr.Interface(
|
7 |
fn=predict,
|