ifire commited on
Commit
9e19bed
·
1 Parent(s): 5460550

Mod the defaults.

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. gradio_app.py +2 -2
README.md CHANGED
@@ -23,11 +23,11 @@ You can deploy PaintsUndo locally via:
23
  git clone https://github.com/lllyasviel/Paints-UNDO.git
24
  cd Paints-UNDO
25
  scoop install micromamba
26
- micromamba create -n paints_undo python=3.10
27
  micromamba activate paints_undo
 
28
  pip install xformers
29
  pip install -r requirements.txt
30
- pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
31
  python gradio_app.py
32
 
33
  (If you do not know how to use these commands, you can paste those commands to ChatGPT and ask ChatGPT to explain and give more detailed instructions.)
 
23
  git clone https://github.com/lllyasviel/Paints-UNDO.git
24
  cd Paints-UNDO
25
  scoop install micromamba
26
+ micromamba create -n paints_undo python=3.10 -c conda-forge
27
  micromamba activate paints_undo
28
+ pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
29
  pip install xformers
30
  pip install -r requirements.txt
 
31
  python gradio_app.py
32
 
33
  (If you do not know how to use these commands, you can paste those commands to ChatGPT and ask ChatGPT to explain and give more detailed instructions.)
gradio_app.py CHANGED
@@ -278,7 +278,7 @@ with block:
278
  elem_id="i2v_cfg_scale")
279
  i2v_steps = gr.Slider(minimum=1, maximum=60, step=1, elem_id="i2v_steps",
280
  label="Sampling steps", value=50)
281
- i2v_fps = gr.Slider(minimum=1, maximum=30, step=1, elem_id="i2v_motion", label="FPS", value=4)
282
  with gr.Column():
283
  i2v_end_btn = gr.Button("Generate Video", interactive=False)
284
  i2v_output_video = gr.Video(label="Generated Video", elem_id="output_vid", autoplay=True,
@@ -321,4 +321,4 @@ with block:
321
  examples_per_page=1024
322
  )
323
 
324
- block.queue().launch(server_name='0.0.0.0')
 
278
  elem_id="i2v_cfg_scale")
279
  i2v_steps = gr.Slider(minimum=1, maximum=60, step=1, elem_id="i2v_steps",
280
  label="Sampling steps", value=50)
281
+ i2v_fps = gr.Slider(minimum=1, maximum=30, step=1, elem_id="i2v_motion", label="FPS", value=30)
282
  with gr.Column():
283
  i2v_end_btn = gr.Button("Generate Video", interactive=False)
284
  i2v_output_video = gr.Video(label="Generated Video", elem_id="output_vid", autoplay=True,
 
321
  examples_per_page=1024
322
  )
323
 
324
+ block.queue().launch(server_name='127.0.0.1')