Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -445,7 +445,7 @@ def create_index():
|
|
445 |
print(f'status code main:: {r.status_code}')
|
446 |
if r.status_code==200:
|
447 |
ind = json.loads(r.text)
|
448 |
-
print (f'
|
449 |
if not r.status_code==200:
|
450 |
print("Create new IND")
|
451 |
ind = []
|
@@ -456,7 +456,7 @@ def create_index():
|
|
456 |
|
457 |
if m.status_code==200:
|
458 |
main = json.loads(m.text)
|
459 |
-
print (f'
|
460 |
if not r.status_code==200:
|
461 |
main = []
|
462 |
try:
|
|
|
445 |
print(f'status code main:: {r.status_code}')
|
446 |
if r.status_code==200:
|
447 |
ind = json.loads(r.text)
|
448 |
+
print (f'ind:: {ind}')
|
449 |
if not r.status_code==200:
|
450 |
print("Create new IND")
|
451 |
ind = []
|
|
|
456 |
|
457 |
if m.status_code==200:
|
458 |
main = json.loads(m.text)
|
459 |
+
print (f'main:: {main}')
|
460 |
if not r.status_code==200:
|
461 |
main = []
|
462 |
try:
|