Pendrokar commited on
Commit
2bfa3bf
1 Parent(s): 9f5de7f

title;cache_examples;label component

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -73,7 +73,7 @@ gradio_app = gr.Interface(
73
  input_textbox,
74
  slider,
75
  ],
76
- outputs="label",
77
  examples=[
78
  ["You love hurting me, huh?", 5],
79
  ["I know good movies, this ain't one", 5],
@@ -83,7 +83,9 @@ gradio_app = gr.Interface(
83
  ["This is the shit!", 5],
84
  ["This is shit!", 5],
85
  ],
86
- live=True
 
 
87
  )
88
 
89
  if __name__ == "__main__":
 
73
  input_textbox,
74
  slider,
75
  ],
76
+ outputs=gr.Label(label="Suitable Emoji"),
77
  examples=[
78
  ["You love hurting me, huh?", 5],
79
  ["I know good movies, this ain't one", 5],
 
83
  ["This is the shit!", 5],
84
  ["This is shit!", 5],
85
  ],
86
+ cache_examples=True,
87
+ live=True,
88
+ title="🎭 DeepMoji 🎭"
89
  )
90
 
91
  if __name__ == "__main__":