Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -225,7 +225,6 @@ iface = gr.Interface(fn=run, inputs=[
|
|
| 225 |
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>",
|
| 226 |
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]],
|
| 227 |
cache_examples=False)
|
| 228 |
-
|
| 229 |
-
torch.cuda.manual_seed_all(0)
|
| 230 |
iface.launch(enable_queue=True)
|
| 231 |
|
|
|
|
| 225 |
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>",
|
| 226 |
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]],
|
| 227 |
cache_examples=False)
|
| 228 |
+
|
|
|
|
| 229 |
iface.launch(enable_queue=True)
|
| 230 |
|