Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ for style_name, style_img_path in style_options.items():
|
|
32 |
cached_style_features[style_name] = style_features
|
33 |
|
34 |
@spaces.GPU(duration=15)
|
35 |
-
def run(content_image, style_name, style_strength, output_quality, progress=gr.Progress(track_tqdm=True)):
|
36 |
yield None
|
37 |
img_size = 1024 if output_quality else 512
|
38 |
content_img, original_size = preprocess_img(content_image, img_size)
|
|
|
32 |
cached_style_features[style_name] = style_features
|
33 |
|
34 |
@spaces.GPU(duration=15)
|
35 |
+
def run(content_image, style_name, style_strength=100, output_quality=False, progress=gr.Progress(track_tqdm=True)):
|
36 |
yield None
|
37 |
img_size = 1024 if output_quality else 512
|
38 |
content_img, original_size = preprocess_img(content_image, img_size)
|