Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -304,6 +304,7 @@ def search(prompt, search_name,):
|
|
| 304 |
#return list(map(lambda x: x["name"], t2_list))
|
| 305 |
'''
|
| 306 |
|
|
|
|
| 307 |
def zip_ims(g):
|
| 308 |
from uuid import uuid1
|
| 309 |
if g is None:
|
|
@@ -317,6 +318,7 @@ def zip_ims(g):
|
|
| 317 |
zipObj.write(ele, "{}.png".format(uuid1()))
|
| 318 |
#zipObj.write(file2.name, "file2")
|
| 319 |
return zip_file_name
|
|
|
|
| 320 |
|
| 321 |
with gr.Blocks(css="custom.css") as demo:
|
| 322 |
title = gr.HTML(
|
|
|
|
| 304 |
#return list(map(lambda x: x["name"], t2_list))
|
| 305 |
'''
|
| 306 |
|
| 307 |
+
'''
|
| 308 |
def zip_ims(g):
|
| 309 |
from uuid import uuid1
|
| 310 |
if g is None:
|
|
|
|
| 318 |
zipObj.write(ele, "{}.png".format(uuid1()))
|
| 319 |
#zipObj.write(file2.name, "file2")
|
| 320 |
return zip_file_name
|
| 321 |
+
'''
|
| 322 |
|
| 323 |
with gr.Blocks(css="custom.css") as demo:
|
| 324 |
title = gr.HTML(
|