k-l-lambda commited on
Commit
5db56dd
1 Parent(s): 0ad49ae

upgraded novita_client to 0.5.1

Browse files
Files changed (2) hide show
  1. app.py +1 -3
  2. requirements.txt +1 -1
app.py CHANGED
@@ -322,8 +322,6 @@ def generate_image (
322
  last_check = t
323
  print('progress:', t, x.task.status)
324
 
325
- print('controlnet_selection:', controlnet_selection)
326
-
327
  res = client.instant_id(
328
  model_name=f'{model_name}.safetensors',
329
  face_images=[face_image_path],
@@ -339,7 +337,7 @@ def generate_image (
339
  adapter_strength=adapter_strength_ratio,
340
  width=width,
341
  height=height,
342
- #response_image_type='jpeg', # wait for novita_client 0.5.1 to fix this argument
343
  callback=progress_,
344
  )
345
 
 
322
  last_check = t
323
  print('progress:', t, x.task.status)
324
 
 
 
325
  res = client.instant_id(
326
  model_name=f'{model_name}.safetensors',
327
  face_images=[face_image_path],
 
337
  adapter_strength=adapter_strength_ratio,
338
  width=width,
339
  height=height,
340
+ response_image_type='jpeg',
341
  callback=progress_,
342
  )
343
 
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- novita_client==0.5.0
2
  gradio==4.15.0
 
1
+ novita_client==0.5.1
2
  gradio==4.15.0