Spaces:
Build error
Build error
d1ef
commited on
Commit
·
6f7a741
1
Parent(s):
cd3f827
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def translate(model, action, inputs):
|
|
| 33 |
demo = gr.Interface(
|
| 34 |
fn=translate,
|
| 35 |
inputs=[
|
| 36 |
-
gr.components.Textbox(label="MODEL NAME, eg:
|
| 37 |
gr.components.Dropdown(label="ACTIONS", choices=ACTIONS),
|
| 38 |
gr.components.Textbox(label="INPUTS"),
|
| 39 |
],
|
|
|
|
| 33 |
demo = gr.Interface(
|
| 34 |
fn=translate,
|
| 35 |
inputs=[
|
| 36 |
+
gr.components.Textbox(label="MODEL NAME, eg: google/byt5-small", value="google/byt5-small"),
|
| 37 |
gr.components.Dropdown(label="ACTIONS", choices=ACTIONS),
|
| 38 |
gr.components.Textbox(label="INPUTS"),
|
| 39 |
],
|