Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def predict(text):
|
|
17 |
# Create and launch the Gradio interface for text input
|
18 |
gr.Interface(
|
19 |
fn=predict,
|
20 |
-
inputs=gr.inputs.Textbox(
|
21 |
outputs=gr.outputs.Label(),
|
22 |
examples=["WON a guaranteed £1000 cash","Hello, how are you?"]
|
23 |
).launch(share=False)
|
|
|
17 |
# Create and launch the Gradio interface for text input
|
18 |
gr.Interface(
|
19 |
fn=predict,
|
20 |
+
inputs=gr.inputs.Textbox(),
|
21 |
outputs=gr.outputs.Label(),
|
22 |
examples=["WON a guaranteed £1000 cash","Hello, how are you?"]
|
23 |
).launch(share=False)
|