yeq6x commited on
Commit
5886555
·
1 Parent(s): 5c8862b

並び替え

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -155,8 +155,6 @@ def setup(model_info, input_image=None):
155
  if input_image is not None:
156
  fig = get_heatmaps(0, image_size // 2, image_size // 2, input_image)
157
  return fig
158
-
159
- setup(models_info[0])
160
 
161
  with gr.Blocks() as demo:
162
  # title
@@ -207,5 +205,7 @@ with gr.Blocks() as demo:
207
  inputs=[input_image],
208
  )
209
 
 
 
210
  demo.launch()
211
 
 
155
  if input_image is not None:
156
  fig = get_heatmaps(0, image_size // 2, image_size // 2, input_image)
157
  return fig
 
 
158
 
159
  with gr.Blocks() as demo:
160
  # title
 
205
  inputs=[input_image],
206
  )
207
 
208
+ setup(models_info[0])
209
+
210
  demo.launch()
211