tfwang commited on
Commit
3d1d396
·
1 Parent(s): b143df9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- torch.manual_seed(0)
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