heheyas commited on
Commit
e5f9728
1 Parent(s): 63d4833

update app

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -31,16 +31,11 @@ from huggingface_hub import hf_hub_download
31
  @spaces.GPU
32
  def do_sample(
33
  image,
34
- model,
35
- clip_model,
36
- ae_model,
37
- device,
38
  num_frames,
39
  num_steps,
40
  decoding_t,
41
  border_ratio,
42
  ignore_alpha,
43
- rembg_session,
44
  output_folder,
45
  ):
46
  # if image.mode == "RGBA":
@@ -250,16 +245,11 @@ with gr.Blocks(title="V3D", theme=gr.themes.Monochrome()) as demo:
250
  change_model_params(model, min_guidance, max_guidance)
251
  return do_sample(
252
  image,
253
- model,
254
- clip_model,
255
- ae_model,
256
- device,
257
  num_frames,
258
  num_steps,
259
  int(decoding_t),
260
  border_ratio,
261
  False,
262
- rembg_session,
263
  output_folder,
264
  )
265
 
 
31
  @spaces.GPU
32
  def do_sample(
33
  image,
 
 
 
 
34
  num_frames,
35
  num_steps,
36
  decoding_t,
37
  border_ratio,
38
  ignore_alpha,
 
39
  output_folder,
40
  ):
41
  # if image.mode == "RGBA":
 
245
  change_model_params(model, min_guidance, max_guidance)
246
  return do_sample(
247
  image,
 
 
 
 
248
  num_frames,
249
  num_steps,
250
  int(decoding_t),
251
  border_ratio,
252
  False,
 
253
  output_folder,
254
  )
255