Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -75,8 +75,8 @@ def inference(content_image, style_name, style_strength, output_quality, progres
|
|
75 |
print('STYLE STRENGTH:', style_strength)
|
76 |
print('HIGH QUALITY:', output_quality)
|
77 |
|
78 |
-
iters =
|
79 |
-
lr = 0.001 + (0.099 / 99) * (style_strength - 1)
|
80 |
alpha = 1
|
81 |
beta = 1
|
82 |
|
|
|
75 |
print('STYLE STRENGTH:', style_strength)
|
76 |
print('HIGH QUALITY:', output_quality)
|
77 |
|
78 |
+
iters = 35
|
79 |
+
lr = 0.001 + (0.099 / 99) * (style_strength - 1) # [0.001, 0.1]
|
80 |
alpha = 1
|
81 |
beta = 1
|
82 |
|