Spaces:
Runtime error
Runtime error
kurianbenoy
commited on
Commit
•
b7e6938
1
Parent(s):
a83c171
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ interface_options = {
|
|
24 |
"layout": "horizontal",
|
25 |
# Audio from validation file
|
26 |
"examples": ["000003.ogg", "000032.ogg", "000038.ogg", "000050.ogg", "000103.ogg"],
|
|
|
27 |
}
|
28 |
|
29 |
## Code from Dien Hoa Truong inference notebook: https://www.kaggle.com/code/dienhoa/inference-submission-music-genre
|
@@ -84,7 +85,7 @@ launch_options = {
|
|
84 |
"enable_queue": True,
|
85 |
"share": False,
|
86 |
# thanks Alex for pointing this option to cache examples
|
87 |
-
"
|
88 |
}
|
89 |
|
90 |
demo.launch(**launch_options)
|
|
|
24 |
"layout": "horizontal",
|
25 |
# Audio from validation file
|
26 |
"examples": ["000003.ogg", "000032.ogg", "000038.ogg", "000050.ogg", "000103.ogg"],
|
27 |
+
"allow_flagging": "never"
|
28 |
}
|
29 |
|
30 |
## Code from Dien Hoa Truong inference notebook: https://www.kaggle.com/code/dienhoa/inference-submission-music-genre
|
|
|
85 |
"enable_queue": True,
|
86 |
"share": False,
|
87 |
# thanks Alex for pointing this option to cache examples
|
88 |
+
"cache_examples": True,
|
89 |
}
|
90 |
|
91 |
demo.launch(**launch_options)
|