Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- .gitignore +6 -6
- app.py +1 -1
- style_images/Starry_Night_v2.jpg +3 -0
.gitattributes
CHANGED
@@ -39,3 +39,4 @@ content_images/Scream.jpg filter=lfs diff=lfs merge=lfs -text
|
|
39 |
style_images/Mosaic.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
style_images/Starry_Night.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
content_images/Bridge.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
39 |
style_images/Mosaic.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
style_images/Starry_Night.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
content_images/Bridge.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
style_images/Starry_Night_v2.jpg filter=lfs diff=lfs merge=lfs -text
|
.gitignore
CHANGED
@@ -165,11 +165,11 @@ cython_debug/
|
|
165 |
#.idea/
|
166 |
|
167 |
# Gradio
|
168 |
-
gradio_cached_examples
|
169 |
-
flagged
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
|
174 |
# Tensorboard
|
175 |
-
runs
|
|
|
165 |
#.idea/
|
166 |
|
167 |
# Gradio
|
168 |
+
/gradio_cached_examples
|
169 |
+
/flagged
|
170 |
+
/*.jpg
|
171 |
+
/*.jpeg
|
172 |
+
/*.png
|
173 |
|
174 |
# Tensorboard
|
175 |
+
/runs
|
app.py
CHANGED
@@ -49,7 +49,7 @@ def run(content_image, style_name, style_strength=5):
|
|
49 |
print('DATETIME:', datetime.now(timezone.utc) - timedelta(hours=4)) # est
|
50 |
print('STYLE:', style_name)
|
51 |
print('CONTENT IMG SIZE:', original_size)
|
52 |
-
print('STYLE STRENGTH:', style_strength, f'(lr={lrs[style_strength-1]})')
|
53 |
|
54 |
style_features = cached_style_features[style_name]
|
55 |
|
|
|
49 |
print('DATETIME:', datetime.now(timezone.utc) - timedelta(hours=4)) # est
|
50 |
print('STYLE:', style_name)
|
51 |
print('CONTENT IMG SIZE:', original_size)
|
52 |
+
print('STYLE STRENGTH:', style_strength, f'(lr={lrs[style_strength-1]:.3f})')
|
53 |
|
54 |
style_features = cached_style_features[style_name]
|
55 |
|
style_images/Starry_Night_v2.jpg
ADDED
Git LFS Details
|