Spaces:
Runtime error
Runtime error
ryanlinjui
commited on
Commit
•
8656350
1
Parent(s):
1de3f97
feat: change file input ui title
Browse files
app.py
CHANGED
@@ -31,8 +31,8 @@ def handle(chart_path, music_path):
|
|
31 |
|
32 |
if __name__ == "__main__":
|
33 |
inputs = [
|
34 |
-
gr.File(label="太鼓達人譜面/Taiko Chart
|
35 |
-
gr.File(label="譜面音樂/Chart Music (Optional)", file_types=[".ogg"])
|
36 |
]
|
37 |
outputs = [gr.Audio(label=course["label"], format="mp3") for course in COURSE]
|
38 |
|
|
|
31 |
|
32 |
if __name__ == "__main__":
|
33 |
inputs = [
|
34 |
+
gr.File(label="太鼓達人譜面/Taiko Chart Data (json)", file_types=[".json"]),
|
35 |
+
gr.File(label="譜面音樂/Chart Music (ogg) (Optional)", file_types=[".ogg"])
|
36 |
]
|
37 |
outputs = [gr.Audio(label=course["label"], format="mp3") for course in COURSE]
|
38 |
|