Kotomiya07 commited on
Commit
ed8533e
1 Parent(s): 667e9e6

Add application file

Browse files
__pycache__/config.cpython-310.pyc CHANGED
Binary files a/__pycache__/config.cpython-310.pyc and b/__pycache__/config.cpython-310.pyc differ
 
__pycache__/utils.cpython-310.pyc CHANGED
Binary files a/__pycache__/utils.cpython-310.pyc and b/__pycache__/utils.cpython-310.pyc differ
 
app.py CHANGED
@@ -338,8 +338,7 @@ with gr.Blocks(css="style.css", theme="NoCrypt/miku@1.2.1") as demo:
338
  inputs=prompt,
339
  outputs=[result, gr_metadata],
340
  fn=lambda *args, **kwargs: generate(*args, use_upscaler=True, **kwargs),
341
- #cache_examples=CACHE_EXAMPLES,
342
- run_on_click=True,
343
  )
344
  use_upscaler.change(
345
  fn=lambda x: [gr.update(visible=x), gr.update(visible=x)],
 
338
  inputs=prompt,
339
  outputs=[result, gr_metadata],
340
  fn=lambda *args, **kwargs: generate(*args, use_upscaler=True, **kwargs),
341
+ cache_examples=CACHE_EXAMPLES
 
342
  )
343
  use_upscaler.change(
344
  fn=lambda x: [gr.update(visible=x), gr.update(visible=x)],