Spaces:
Running
Running
Akito-UzukiP
commited on
Commit
·
1df4c01
1
Parent(s):
a5ffe22
fix bug
Browse files
app.py
CHANGED
|
@@ -206,7 +206,7 @@ if __name__ == "__main__":
|
|
| 206 |
).to(device)
|
| 207 |
_ = net_g.eval()
|
| 208 |
|
| 209 |
-
languages = ["
|
| 210 |
with gr.Blocks() as app:
|
| 211 |
with gr.Tab(label="umamusume"):
|
| 212 |
with gr.Row():
|
|
@@ -233,7 +233,7 @@ if __name__ == "__main__":
|
|
| 233 |
minimum=0.1, maximum=2, value=1, step=0.1, label="Length Scale"
|
| 234 |
)
|
| 235 |
language = gr.Dropdown(
|
| 236 |
-
choices=languages, value=languages[
|
| 237 |
)
|
| 238 |
btn = gr.Button("Generate!", variant="primary")
|
| 239 |
with gr.Column():
|
|
|
|
| 206 |
).to(device)
|
| 207 |
_ = net_g.eval()
|
| 208 |
|
| 209 |
+
languages = ["JP"]
|
| 210 |
with gr.Blocks() as app:
|
| 211 |
with gr.Tab(label="umamusume"):
|
| 212 |
with gr.Row():
|
|
|
|
| 233 |
minimum=0.1, maximum=2, value=1, step=0.1, label="Length Scale"
|
| 234 |
)
|
| 235 |
language = gr.Dropdown(
|
| 236 |
+
choices=languages, value=languages[0], label="Language"
|
| 237 |
)
|
| 238 |
btn = gr.Button("Generate!", variant="primary")
|
| 239 |
with gr.Column():
|