Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -268,7 +268,8 @@ def create_gradio_app():
|
|
| 268 |
"""
|
| 269 |
|
| 270 |
# Create Gradio interface
|
| 271 |
-
with gr.Blocks(css=css, title="🛡️ BERT Scam Detector", theme=gr.themes.Soft()
|
|
|
|
| 272 |
|
| 273 |
# Header
|
| 274 |
gr.Markdown("""
|
|
|
|
| 268 |
"""
|
| 269 |
|
| 270 |
# Create Gradio interface
|
| 271 |
+
with gr.Blocks(css=css, title="🛡️ BERT Scam Detector", theme=gr.themes.Soft()) as demo:
|
| 272 |
+
api_name="predict"
|
| 273 |
|
| 274 |
# Header
|
| 275 |
gr.Markdown("""
|