inkleaves commited on
Commit
6bd241c
·
verified ·
1 Parent(s): ea4a35e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,5 +10,5 @@ def predict(text):
10
  prediction = outputs.logits.argmax(dim=-1).item()
11
  return "Spam" if prediction == 1 else "Not Spam"
12
 
13
- interface = gr.Interface(fn=predict, inputs="Text", outputs="Text")
14
  interface.launch(share=True)
 
10
  prediction = outputs.logits.argmax(dim=-1).item()
11
  return "Spam" if prediction == 1 else "Not Spam"
12
 
13
+ interface = gr.Interface(fn=predict, inputs="text", outputs="text")
14
  interface.launch(share=True)