primerz commited on
Commit
954ca3f
·
verified ·
1 Parent(s): 39ea7c4

Upload 6 files

Browse files
app.py CHANGED
@@ -451,4 +451,4 @@ if __name__ == "__main__":
451
  server_port=7860,
452
  share=True,
453
  show_api=True
454
- )
 
451
  server_port=7860,
452
  share=True,
453
  show_api=True
454
+ )
config.py CHANGED
@@ -204,4 +204,4 @@ print(f" Device: {device}")
204
  print(f" Dtype: {dtype}")
205
  print(f" Model Repo: {MODEL_REPO}")
206
  print(f" HuggingFace Token: {'Set' if HUGGINGFACE_TOKEN else 'Not set (using IP-based access)'}")
207
- print(f" InstantID: Enabled")
 
204
  print(f" Dtype: {dtype}")
205
  print(f" Model Repo: {MODEL_REPO}")
206
  print(f" HuggingFace Token: {'Set' if HUGGINGFACE_TOKEN else 'Not set (using IP-based access)'}")
207
+ print(f" InstantID: Enabled")
generator.py CHANGED
@@ -385,4 +385,4 @@ class RetroArtConverter:
385
  gc.collect()
386
 
387
 
388
- print("[OK] Generator class ready with InstantID support")
 
385
  gc.collect()
386
 
387
 
388
+ print("[OK] Generator class ready with InstantID support")
models.py CHANGED
@@ -253,4 +253,4 @@ def set_clip_skip(pipe):
253
  print(f" [OK] CLIP skip set to {CLIP_SKIP}")
254
 
255
 
256
- print("[OK] Model loading functions ready")
 
253
  print(f" [OK] CLIP skip set to {CLIP_SKIP}")
254
 
255
 
256
+ print("[OK] Model loading functions ready")
pipeline_stable_diffusion_xl_instantid_img2img.py CHANGED
@@ -1069,4 +1069,4 @@ class StableDiffusionXLInstantIDImg2ImgPipeline(StableDiffusionXLControlNetImg2I
1069
  if not return_dict:
1070
  return (image,)
1071
 
1072
- return StableDiffusionXLPipelineOutput(images=image)
 
1069
  if not return_dict:
1070
  return (image,)
1071
 
1072
+ return StableDiffusionXLPipelineOutput(images=image)
utils.py CHANGED
@@ -523,4 +523,4 @@ def enhance_face_crop(face_crop):
523
  return face_crop_final
524
 
525
 
526
- print("[OK] Utilities loaded")
 
523
  return face_crop_final
524
 
525
 
526
+ print("[OK] Utilities loaded")