Update classification.py
Browse files- classification.py +1 -1
classification.py
CHANGED
@@ -207,6 +207,6 @@ def classification(column, file_path, categories, treshold):
|
|
207 |
# Save data
|
208 |
return save_data(df,file_path), df
|
209 |
|
210 |
-
download_cate(cate_df):
|
211 |
cate_df.to_excel('categories.xlsx')
|
212 |
return gr.File(value='categories.xlsx', visible=True)
|
|
|
207 |
# Save data
|
208 |
return save_data(df,file_path), df
|
209 |
|
210 |
+
def download_cate(cate_df):
|
211 |
cate_df.to_excel('categories.xlsx')
|
212 |
return gr.File(value='categories.xlsx', visible=True)
|