Spaces:
Runtime error
Runtime error
new queue and disable cache
#2
by
akhaliq
HF staff
- opened
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 💻
|
|
4 |
colorFrom: purple
|
5 |
colorTo: yellow
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
4 |
colorFrom: purple
|
5 |
colorTo: yellow
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.1.4b5
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
app.py
CHANGED
@@ -222,7 +222,8 @@ iface = gr.Interface(fn=run, inputs=[
|
|
222 |
css=css,
|
223 |
title="Generate images from sketches with PITI",
|
224 |
description="<div>By uploading a sketch map or a semantic map and pressing submit, you can generate images based on your input. As the computing device is CPU, the running may be slow.</div>",
|
225 |
-
examples=[["1.png", "sketch", 1.3, 2, 100], ["2.png", "sketch", 1.3, 2, 100],["3.png", "sketch", 1.3, 2, 100],["4.png", "mask", 1.3, 2, 100],["5.png", "mask", 1.3, 2, 100],["6.png", "mask", 1.3, 2, 100]]
|
|
|
226 |
|
227 |
iface.launch(enable_queue=True)
|
228 |
|
|
|
222 |
css=css,
|
223 |
title="Generate images from sketches with PITI",
|
224 |
description="<div>By uploading a sketch map or a semantic map and pressing submit, you can generate images based on your input. As the computing device is CPU, the running may be slow.</div>",
|
225 |
+
examples=[["1.png", "sketch", 1.3, 2, 100], ["2.png", "sketch", 1.3, 2, 100],["3.png", "sketch", 1.3, 2, 100],["4.png", "mask", 1.3, 2, 100],["5.png", "mask", 1.3, 2, 100],["6.png", "mask", 1.3, 2, 100]],
|
226 |
+
cache_examples=False)
|
227 |
|
228 |
iface.launch(enable_queue=True)
|
229 |
|