svjack commited on
Commit
705b9d0
1 Parent(s): aa22119

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,11 +59,11 @@ def pred_func(image, prompt):
59
  return control_image ,image
60
 
61
 
62
- gr=gr.Interface(fn=pred_func, inputs=['image','text'],
63
  outputs=[gr.Image(label='output').style(height=512),
64
  gr.Image(label='output').style(height=512)],
65
  examples=example_sample if example_sample else None,
66
  cache_examples = False
67
  )
68
- gr.launch(share=False)
69
 
 
59
  return control_image ,image
60
 
61
 
62
+ demo=gr.Interface(fn=pred_func, inputs=['image','text'],
63
  outputs=[gr.Image(label='output').style(height=512),
64
  gr.Image(label='output').style(height=512)],
65
  examples=example_sample if example_sample else None,
66
  cache_examples = False
67
  )
68
+ demo.launch(share=False)
69