weifeng.genius commited on
Commit
559122a
1 Parent(s): 0b2d52e

remove cache

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -185,7 +185,7 @@ if __name__ == '__main__':
185
  inputs=inputs,
186
  outputs=result,
187
  fn=inference,
188
- cache_examples=True,
189
  run_on_click=False,
190
  )
191
 
@@ -196,7 +196,7 @@ if __name__ == '__main__':
196
  # inputs=inputs,
197
  # outputs=result,)
198
 
199
- demo.launch(server_name="0.0.0.0", server_port=7860).queue(concurrency_count=1, max_size=1)
200
 
201
 
202
  # TODO
 
185
  inputs=inputs,
186
  outputs=result,
187
  fn=inference,
188
+ cache_examples=False,
189
  run_on_click=False,
190
  )
191
 
 
196
  # inputs=inputs,
197
  # outputs=result,)
198
 
199
+ demo.launch(server_name="0.0.0.0", server_port=7860)
200
 
201
 
202
  # TODO