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