Spaces:
Runtime error
Runtime error
Update common_voice.py
Browse files- common_voice.py +1 -1
common_voice.py
CHANGED
@@ -28,7 +28,7 @@ def cache_graph(dat,y,x,color=None):
|
|
28 |
#I feel like this doesn't work correctly
|
29 |
return px.bar(dat,y=y,x=x,color=color)
|
30 |
|
31 |
-
@st.
|
32 |
def cache_dataset(language,split=None):
|
33 |
dat=load_dataset("common_voice",language,split=split)
|
34 |
if split:
|
|
|
28 |
#I feel like this doesn't work correctly
|
29 |
return px.bar(dat,y=y,x=x,color=color)
|
30 |
|
31 |
+
@st.experimental_singleton(suppress_st_warning=True)
|
32 |
def cache_dataset(language,split=None):
|
33 |
dat=load_dataset("common_voice",language,split=split)
|
34 |
if split:
|