Commit
·
ebfd86a
1
Parent(s):
ea5a12b
automatically trigger the translation for examples
Browse files
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
|