hysts HF staff commited on
Commit
6af0602
1 Parent(s): e2854ed
Files changed (2) hide show
  1. app.py +1 -1
  2. images/README.md +7 -0
app.py CHANGED
@@ -227,7 +227,7 @@ def main():
227
  device=device)
228
  func = functools.update_wrapper(func, run)
229
 
230
- image_paths = sorted(pathlib.Path('images').glob('*'))
231
  examples = [[path.as_posix(), 'cartoon', 26] for path in image_paths]
232
 
233
  gr.Interface(
 
227
  device=device)
228
  func = functools.update_wrapper(func, run)
229
 
230
+ image_paths = sorted(pathlib.Path('images').glob('*.jpg'))
231
  examples = [[path.as_posix(), 'cartoon', 26] for path in image_paths]
232
 
233
  gr.Interface(
images/README.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ These images are freely-usable ones from [Unsplash](https://unsplash.com/).
2
+
3
+ - https://unsplash.com/photos/rDEOVtE7vOs
4
+ - https://unsplash.com/photos/et_78QkMMQs
5
+ - https://unsplash.com/photos/ILip77SbmOE
6
+ - https://unsplash.com/photos/95UF6LXe-Lo
7
+