Spaces:
Runtime error
Runtime error
maxbittker
commited on
Commit
•
256e8d0
1
Parent(s):
22ca3fa
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ with gr.Blocks() as app:
|
|
108 |
outputs = gr.Textbox()
|
109 |
|
110 |
translate_btn = gr.Button("Translate! | o ante toki!")
|
111 |
-
translate_btn.click(translate, inputs=inputs, outputs=outputs)
|
112 |
|
113 |
gr.Examples(
|
114 |
[
|
|
|
108 |
outputs = gr.Textbox()
|
109 |
|
110 |
translate_btn = gr.Button("Translate! | o ante toki!")
|
111 |
+
translate_btn.click(translate, inputs=inputs, outputs=outputs, api_name="translate")
|
112 |
|
113 |
gr.Examples(
|
114 |
[
|