Spaces:
Running
Running
Fix default argument in predict function
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def predict(model
|
4 |
return 0.46 # Worldwide spam rate in 2023. Source: https://securelist.com/spam-phishing-report-2023/112015/
|
5 |
|
6 |
demo = gr.Interface(
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def predict(model, 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(
|