mohamedmostafa259 commited on
Commit
ebfd86a
·
1 Parent(s): ea5a12b

automatically trigger the translation for examples

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -104,6 +104,7 @@ with gr.Blocks(title="🎭 Emoji Translator", theme=gr.themes.Soft()) as demo:
104
  outputs=emoji_output,
105
  fn=translate_to_emoji,
106
  cache_examples=False,
 
107
  )
108
 
109
  # Button click event
 
104
  outputs=emoji_output,
105
  fn=translate_to_emoji,
106
  cache_examples=False,
107
+ run_on_click=True
108
  )
109
 
110
  # Button click event