Spaces:
Sleeping
Sleeping
new
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ async def predict(id:str):
|
|
| 12 |
try:
|
| 13 |
print(f"Request received {id}")
|
| 14 |
tenant_list = rv.algo_start(int(id))
|
|
|
|
| 15 |
return tenant_list
|
| 16 |
|
| 17 |
except Exception as error:
|
|
|
|
| 12 |
try:
|
| 13 |
print(f"Request received {id}")
|
| 14 |
tenant_list = rv.algo_start(int(id))
|
| 15 |
+
print(tenant_list)
|
| 16 |
return tenant_list
|
| 17 |
|
| 18 |
except Exception as error:
|
try.py
CHANGED
|
@@ -18,7 +18,7 @@ connection_string = URL.create(
|
|
| 18 |
database='koyebdb',
|
| 19 |
)
|
| 20 |
|
| 21 |
-
tenant_list = rv.algo_start(
|
| 22 |
print(tenant_list)
|
| 23 |
|
| 24 |
|
|
|
|
| 18 |
database='koyebdb',
|
| 19 |
)
|
| 20 |
|
| 21 |
+
tenant_list = rv.algo_start(10001)
|
| 22 |
print(tenant_list)
|
| 23 |
|
| 24 |
|