Yaron Koresh commited on
Commit
0ecaf68
·
verified ·
1 Parent(s): f8b521a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -522,7 +522,7 @@ torch.cuda.empty_cache()
522
  @spaces.GPU(duration=240)
523
  def upscaler(
524
  input_image: Image.Image,
525
- prompt: str = "Masterpiece, Best Quality, Hyper-Realistic, Super-Realistic, Natural, Reasonable, Logical.",
526
  negative_prompt: str = "Blurry, Distorted, Exceptional, Irregular, Unusual, Shiny, Smoothed, Polished, Low Quality, Worst Quality, Normal Quality, Anime Quality, Paint Quality, Movie Quality.",
527
  seed: int = random.randint(0, MAX_SEED),
528
  upscale_factor: int = 2,
@@ -532,7 +532,7 @@ def upscaler(
532
  tile_width: int = 112,
533
  tile_height: int = 144,
534
  denoise_strength: float = 0.35,
535
- num_inference_steps: int = 30,
536
  solver: str = "DDIM",
537
  ) -> Image.Image:
538
 
 
522
  @spaces.GPU(duration=240)
523
  def upscaler(
524
  input_image: Image.Image,
525
+ prompt: str = "Accurate, Highly Detailed, Realistic, Best Quality, Hyper-Realistic, Super-Realistic, Natural, Reasonable, Logical.",
526
  negative_prompt: str = "Blurry, Distorted, Exceptional, Irregular, Unusual, Shiny, Smoothed, Polished, Low Quality, Worst Quality, Normal Quality, Anime Quality, Paint Quality, Movie Quality.",
527
  seed: int = random.randint(0, MAX_SEED),
528
  upscale_factor: int = 2,
 
532
  tile_width: int = 112,
533
  tile_height: int = 144,
534
  denoise_strength: float = 0.35,
535
+ num_inference_steps: int = 24,
536
  solver: str = "DDIM",
537
  ) -> Image.Image:
538