Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
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 = "
|
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 =
|
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 |
|