jamino30 commited on
Commit
d767ccb
1 Parent(s): 0e7274a

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. .gitignore +6 -6
  3. app.py +1 -1
  4. 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
- *.jpg
171
- *.jpeg
172
- *.png
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

  • SHA256: f8bc3528387e78692bb36b32a8e77e8c18f55eec47b9f1bba4af23be198d08c0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.29 MB