hsuwill000 commited on
Commit
57c4088
1 Parent(s): 5990b17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  from huggingface_hub import snapshot_download
8
  import openvino.runtime as ov
9
  from typing import Optional, Dict
10
- from diffusers import LCMScheduler
11
 
12
 
13
  model_id = "hsuwill000/anything-v5-openvino"
@@ -53,9 +53,8 @@ def infer(prompt,negative_prompt):
53
  negative_prompt = negative_prompt,
54
  width = WIDTH,
55
  height = HIGH,
56
- scheduler=LCMScheduler,
57
- guidance_scale=1.0,
58
- num_inference_steps=8,
59
  num_images_per_prompt=1,
60
  ).images[0]
61
 
 
7
  from huggingface_hub import snapshot_download
8
  import openvino.runtime as ov
9
  from typing import Optional, Dict
10
+
11
 
12
 
13
  model_id = "hsuwill000/anything-v5-openvino"
 
53
  negative_prompt = negative_prompt,
54
  width = WIDTH,
55
  height = HIGH,
56
+ guidance_scale=7.5,
57
+ num_inference_steps=26,
 
58
  num_images_per_prompt=1,
59
  ).images[0]
60