Anonymous-sub commited on
Commit
d358cad
1 Parent(s): 1cd9877

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -629,6 +629,9 @@ DESCRIPTION = '''
629
  4. `revAnimated_v11` model for non-photorealstic style, `realisticVisionV20_v20` model for photorealstic style.
630
  5. To use your own SD/LoRA model, you may clone the space and specify your model with [sd_model_cfg.py](https://huggingface.co/spaces/Anonymous-sub/Rerender/blob/main/sd_model_cfg.py).
631
  6. This method is based on the original SD model. You may need to [convert](https://github.com/huggingface/diffusers/blob/main/scripts/convert_diffusers_to_original_stable_diffusion.py) Diffuser/Automatic1111 models to the original one.
 
 
 
632
  '''
633
 
634
  block = gr.Blocks().queue()
@@ -934,4 +937,5 @@ with block:
934
 
935
  run_button3.click(fn=process3, outputs=[result_keyframe])
936
 
 
937
  block.launch(server_name='0.0.0.0')
 
629
  4. `revAnimated_v11` model for non-photorealstic style, `realisticVisionV20_v20` model for photorealstic style.
630
  5. To use your own SD/LoRA model, you may clone the space and specify your model with [sd_model_cfg.py](https://huggingface.co/spaces/Anonymous-sub/Rerender/blob/main/sd_model_cfg.py).
631
  6. This method is based on the original SD model. You may need to [convert](https://github.com/huggingface/diffusers/blob/main/scripts/convert_diffusers_to_original_stable_diffusion.py) Diffuser/Automatic1111 models to the original one.
632
+
633
+ <a href="https://huggingface.co/spaces/Anonymous-sub/Rerender?duplicate=true" style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
634
+ <img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> for no queue on your own hardware.</p>
635
  '''
636
 
637
  block = gr.Blocks().queue()
 
937
 
938
  run_button3.click(fn=process3, outputs=[result_keyframe])
939
 
940
+ block.queue(concurrency_count=1, max_size=20)
941
  block.launch(server_name='0.0.0.0')