nightfury commited on
Commit
1b5194e
·
1 Parent(s): fa6733b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,7 +121,7 @@ Given a grayscale photograph as input, this demo attacks the problem of hallucin
121
  <center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_colorization_eccv16siggraph17' alt='visitor badge'></center>
122
  """
123
 
124
- interface = gr.Interface(
125
  interface,
126
  [
127
  gr.components.Image(type="pil", label="image"),
@@ -142,4 +142,4 @@ interface = gr.Interface(
142
  article=article,
143
  live=True,
144
  )
145
- interface.launch(share=True)
 
121
  <center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_colorization_eccv16siggraph17' alt='visitor badge'></center>
122
  """
123
 
124
+ mainBody = gr.Interface(
125
  interface,
126
  [
127
  gr.components.Image(type="pil", label="image"),
 
142
  article=article,
143
  live=True,
144
  )
145
+ mainBody.launch(share=True)