Spaces:
Running
Running
Commit
•
64e12c3
1
Parent(s):
9bcd4c6
App.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks() as demo:
|
|
121 |
option_buttons.append(gr.Button(value="Translation 2"))
|
122 |
|
123 |
generate.click(get_translations, inputs=prompt, outputs=translations)
|
124 |
-
example_sentence.click(update_prompt
|
125 |
for i in range(0,3):
|
126 |
option_buttons[i].click(save_option_to_repo, inputs=[prompt, translations[0], translations[1], option_buttons[i]])
|
127 |
|
|
|
121 |
option_buttons.append(gr.Button(value="Translation 2"))
|
122 |
|
123 |
generate.click(get_translations, inputs=prompt, outputs=translations)
|
124 |
+
example_sentence.click(update_prompt, outputs=prompt)
|
125 |
for i in range(0,3):
|
126 |
option_buttons[i].click(save_option_to_repo, inputs=[prompt, translations[0], translations[1], option_buttons[i]])
|
127 |
|