Rahmat82 commited on
Commit
e6cf2f7
1 Parent(s): d2cdb78

removed custom submit btn

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -36,7 +36,6 @@ demo = gr.Interface(
36
  fn = predict,
37
  inputs = gr.components.Textbox(label='Write your text here', lines=3),
38
  outputs = gr.components.Label(label='Predictions', num_top_classes=6),
39
- submit_btn = gr.Button("Classify", variant="primary"),
40
  allow_flagging = 'never',
41
  examples = [
42
  ["The gentle touch of your hand on mine is a silent promise that echoes through the corridors of my heart."],
 
36
  fn = predict,
37
  inputs = gr.components.Textbox(label='Write your text here', lines=3),
38
  outputs = gr.components.Label(label='Predictions', num_top_classes=6),
 
39
  allow_flagging = 'never',
40
  examples = [
41
  ["The gentle touch of your hand on mine is a silent promise that echoes through the corridors of my heart."],