Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -478,10 +478,10 @@ def create_index():
|
|
| 478 |
ind[k].append(ea['file_name'])
|
| 479 |
else:
|
| 480 |
print("Adding new Value")
|
| 481 |
-
ind.update({k:[ea['file_name']]})
|
| 482 |
except Exception as e:
|
| 483 |
print (e)
|
| 484 |
-
ind.append({k:[ea['file_name']]})
|
| 485 |
|
| 486 |
except Exception as e:
|
| 487 |
print (e)
|
|
|
|
| 478 |
ind[k].append(ea['file_name'])
|
| 479 |
else:
|
| 480 |
print("Adding new Value")
|
| 481 |
+
ind[0].update({k:[ea['file_name']]})
|
| 482 |
except Exception as e:
|
| 483 |
print (e)
|
| 484 |
+
#ind.append({k:[ea['file_name']]})
|
| 485 |
|
| 486 |
except Exception as e:
|
| 487 |
print (e)
|