isboudja commited on
Commit
6fa61ce
·
verified ·
1 Parent(s): ffc2079

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(lines=2, placeholder="Enter text here..."),
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)