Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def coding(model, text, codetext):
|
|
12 |
keys = output['labels']
|
13 |
values = output['scores']
|
14 |
my_dict = {k: v for k, v in zip(keys, values)}
|
15 |
-
return [my_dict,
|
16 |
|
17 |
def upload_code_list(file):
|
18 |
df = pd.read_excel(file.name, sheet_name='code')
|
|
|
12 |
keys = output['labels']
|
13 |
values = output['scores']
|
14 |
my_dict = {k: v for k, v in zip(keys, values)}
|
15 |
+
return [my_dict, output]
|
16 |
|
17 |
def upload_code_list(file):
|
18 |
df = pd.read_excel(file.name, sheet_name='code')
|