adaface-neurips commited on
Commit
a09d93b
·
1 Parent(s): a056202

Change description

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -113,7 +113,7 @@ def generate_image(image_paths, image_paths2, guidance_scale, perturb_std,
113
  composition_level, seed, disable_adaface, subj_name_sig, progress=gr.Progress(track_tqdm=True)):
114
 
115
  global adaface, args
116
-
117
  if is_running_on_spaces():
118
  device = 'cuda:0'
119
  else:
@@ -276,15 +276,15 @@ def check_prompt_and_model_type(prompt, model_style_type, adaface_encoder_cfg_sc
276
 
277
  ### Description
278
  title = r"""
279
- <h1>AdaFace: A Versatile Face Encoder for Zero-Shot Diffusion Model Personalization</h1>
280
  """
281
 
282
  description = r"""
283
- <b>Official demo</b> for our working paper <b>AdaFace: A Versatile Face Encoder for Zero-Shot Diffusion Model Personalization</b>.<br>
284
 
285
  ❗️**What's New**❗️
286
  - Support switching between three model styles: **Photorealistic**, **Realistic** and **Anime**.
287
- - If you just changed the model style, the first image/video generation will take extra 20~30 seconds for loading new model weight.
288
 
289
  ❗️**Tips**❗️
290
  1. Upload one or more images of a person. If multiple faces are detected, we use the largest one.
 
113
  composition_level, seed, disable_adaface, subj_name_sig, progress=gr.Progress(track_tqdm=True)):
114
 
115
  global adaface, args
116
+
117
  if is_running_on_spaces():
118
  device = 'cuda:0'
119
  else:
 
276
 
277
  ### Description
278
  title = r"""
279
+ <h1>AdaFace: A Versatile Text-space Face Encoder for Face Synthesis and Processing</h1>
280
  """
281
 
282
  description = r"""
283
+ <b>Official demo</b> for our working paper <b>AdaFace: A Versatile Text-space Face Encoder for Face Synthesis and Processing</b>.<br>
284
 
285
  ❗️**What's New**❗️
286
  - Support switching between three model styles: **Photorealistic**, **Realistic** and **Anime**.
287
+ - If you just changed the model style, the first image/video generation will take <b>extra 20~30 seconds</b> for loading the new model weight.
288
 
289
  ❗️**Tips**❗️
290
  1. Upload one or more images of a person. If multiple faces are detected, we use the largest one.