Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,11 @@ def printV(message,verbosityLevel):
|
|
| 34 |
global verbosity
|
| 35 |
if verbosity>=verbosityLevel:
|
| 36 |
print(message)
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
def save_data(
|
| 39 |
config_dict: Dict[str,str], audio_paths: List[str], userid: str,
|
| 40 |
) -> None:
|
|
|
|
| 34 |
global verbosity
|
| 35 |
if verbosity>=verbosityLevel:
|
| 36 |
print(message)
|
| 37 |
+
|
| 38 |
+
@st.cache_data
|
| 39 |
+
def convert_df(df):
|
| 40 |
+
return df.to_csv(index=False).encode('utf-8')
|
| 41 |
+
|
| 42 |
def save_data(
|
| 43 |
config_dict: Dict[str,str], audio_paths: List[str], userid: str,
|
| 44 |
) -> None:
|