Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import gradio as gr
|
|
| 2 |
import string
|
| 3 |
# Gradio interface
|
| 4 |
iface = gr.Interface(
|
|
|
|
| 5 |
fn=classify_email,
|
| 6 |
inputs=gr.Textbox(lines=5, placeholder="Paste your email text here..."),
|
| 7 |
outputs="text",
|
|
|
|
| 2 |
import string
|
| 3 |
# Gradio interface
|
| 4 |
iface = gr.Interface(
|
| 5 |
+
from SpamEmail import classify_email
|
| 6 |
fn=classify_email,
|
| 7 |
inputs=gr.Textbox(lines=5, placeholder="Paste your email text here..."),
|
| 8 |
outputs="text",
|