Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -305,6 +305,8 @@ def summarize(inp,history,data=None):
|
|
| 305 |
|
| 306 |
|
| 307 |
def find_rss():
|
|
|
|
|
|
|
| 308 |
error_box=[]
|
| 309 |
error_box_schema={"Name":"","Error":"","Keys":"","Other":""}
|
| 310 |
lod=""
|
|
@@ -397,18 +399,11 @@ def find_rss():
|
|
| 397 |
token=token_self,
|
| 398 |
repo_type="dataset",
|
| 399 |
)
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
yield out_box,[(None,'')],error_box
|
| 406 |
|
| 407 |
|
| 408 |
|
| 409 |
-
|
| 410 |
-
timestamp=str(datetime.datetime.now())
|
| 411 |
-
timename=timestamp.replace(" ","--").replace(":","-").replace(".","-")
|
| 412 |
print("DONE")
|
| 413 |
json_object = json.dumps(out_box)
|
| 414 |
#json_object = json.dumps(out_box,indent=4)
|
|
|
|
| 305 |
|
| 306 |
|
| 307 |
def find_rss():
|
| 308 |
+
timestamp=str(datetime.datetime.now())
|
| 309 |
+
timename=timestamp.replace(" ","--").replace(":","-").replace(".","-")
|
| 310 |
error_box=[]
|
| 311 |
error_box_schema={"Name":"","Error":"","Keys":"","Other":""}
|
| 312 |
lod=""
|
|
|
|
| 399 |
token=token_self,
|
| 400 |
repo_type="dataset",
|
| 401 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 402 |
yield out_box,[(None,'')],error_box
|
| 403 |
|
| 404 |
|
| 405 |
|
| 406 |
+
|
|
|
|
|
|
|
| 407 |
print("DONE")
|
| 408 |
json_object = json.dumps(out_box)
|
| 409 |
#json_object = json.dumps(out_box,indent=4)
|