team14: verio - working version 3 - clean gradio cache
Browse files
app.py
CHANGED
|
@@ -522,11 +522,11 @@ def resize_img(img, width=256, height=256):
|
|
| 522 |
return np.array(resized_img_pil)
|
| 523 |
|
| 524 |
|
| 525 |
-
demo = gr.Blocks()
|
| 526 |
|
| 527 |
|
| 528 |
print("Starting the demo...")
|
| 529 |
-
with demo:
|
| 530 |
gr.Markdown(
|
| 531 |
"""
|
| 532 |
<!--p align="center">
|
|
|
|
| 522 |
return np.array(resized_img_pil)
|
| 523 |
|
| 524 |
|
| 525 |
+
# demo = gr.Blocks()
|
| 526 |
|
| 527 |
|
| 528 |
print("Starting the demo...")
|
| 529 |
+
with gr.Blocks(delete_cache=(60, 60)) as demo:
|
| 530 |
gr.Markdown(
|
| 531 |
"""
|
| 532 |
<!--p align="center">
|