fffiloni commited on
Commit
aec599b
·
verified ·
1 Parent(s): 4cda995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -14,12 +14,12 @@ def get_caption(image_in):
14
  def get_lcm(prompt):
15
  client = Client("https://latent-consistency-lcm-lora-for-sdxl.hf.space/")
16
  result = client.predict(
17
- prompt, # str in 'parameter_5' Textbox component
18
- 0.3, # float (numeric value between 0.0 and 5) in 'Guidance' Slider component
19
- 8, # float (numeric value between 2 and 10) in 'Steps' Slider component
20
- 0, # float (numeric value between 0 and 12013012031030) in 'Seed' Slider component
21
- True, # bool in 'Randomize' Checkbox component
22
- api_name="/predict"
23
  )
24
  print(result)
25
  return result[0]
 
14
  def get_lcm(prompt):
15
  client = Client("https://latent-consistency-lcm-lora-for-sdxl.hf.space/")
16
  result = client.predict(
17
+ prompt, # str in 'parameter_5' Textbox component
18
+ 0.3, # float (numeric value between 0.0 and 5) in 'Guidance' Slider component
19
+ 8, # float (numeric value between 2 and 10) in 'Steps' Slider component
20
+ 0, # float (numeric value between 0 and 12013012031030) in 'Seed' Slider component
21
+ True, # bool in 'Randomize' Checkbox component
22
+ api_name="/predict"
23
  )
24
  print(result)
25
  return result[0]