Spaces:
Running
Running
ZeroCommand
commited on
Commit
•
94e8055
1
Parent(s):
a2810d6
clean up code
Browse files- io_utils.py +0 -1
- text_classification.py +0 -1
io_utils.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import os
|
2 |
import subprocess
|
3 |
-
import gradio as gr
|
4 |
import yaml
|
5 |
|
6 |
import pipe
|
|
|
1 |
import os
|
2 |
import subprocess
|
|
|
3 |
import yaml
|
4 |
|
5 |
import pipe
|
text_classification.py
CHANGED
@@ -171,7 +171,6 @@ def infer_output_label_column(
|
|
171 |
str(i): id2label_mapping[label]
|
172 |
for i, label in zip(id2label.keys(), dataset_labels)
|
173 |
}
|
174 |
-
# print('>>>>> column_mapping >>>>>', column_mapping)
|
175 |
|
176 |
id2label_df = pd.DataFrame(
|
177 |
{
|
|
|
171 |
str(i): id2label_mapping[label]
|
172 |
for i, label in zip(id2label.keys(), dataset_labels)
|
173 |
}
|
|
|
174 |
|
175 |
id2label_df = pd.DataFrame(
|
176 |
{
|