hsuwill000 commited on
Commit
a981e33
·
verified ·
1 Parent(s): e5f4dc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,8 +7,8 @@ from typing import Optional, Dict
7
 
8
  model_id = "hsuwill000/sd-turbo-openvino"
9
 
10
- HIGH = 512
11
- WIDTH = 512
12
 
13
  batch_size = -1 # Or set it to a specific positive integer if needed
14
  """
@@ -49,7 +49,7 @@ pipe.compile()
49
  prompt = ""
50
  negative_prompt = "Easy Negative, worst quality, low quality, normal quality, lowers, monochrome, grayscales, skin spots, acnes, skin blemishes, age spot, 6 more fingers on one hand, deformity, bad legs, error legs, bad feet, malformed limbs, extra limbs, ugly, poorly drawn hands, poorly drawn feet, poorly drawn face, text, mutilated, extra fingers, mutated hands, mutation, bad anatomy, cloned face, disfigured, fused fingers"
51
 
52
- def infer(prompt, negative_prompt, num_inference_steps=4):
53
  image = pipe(
54
  prompt=prompt,
55
  negative_prompt=negative_prompt,
 
7
 
8
  model_id = "hsuwill000/sd-turbo-openvino"
9
 
10
+ HIGH = 1024
11
+ WIDTH = 1024
12
 
13
  batch_size = -1 # Or set it to a specific positive integer if needed
14
  """
 
49
  prompt = ""
50
  negative_prompt = "Easy Negative, worst quality, low quality, normal quality, lowers, monochrome, grayscales, skin spots, acnes, skin blemishes, age spot, 6 more fingers on one hand, deformity, bad legs, error legs, bad feet, malformed limbs, extra limbs, ugly, poorly drawn hands, poorly drawn feet, poorly drawn face, text, mutilated, extra fingers, mutated hands, mutation, bad anatomy, cloned face, disfigured, fused fingers"
51
 
52
+ def infer(prompt, negative_prompt, num_inference_steps=1):
53
  image = pipe(
54
  prompt=prompt,
55
  negative_prompt=negative_prompt,