dsr commited on
Commit
d44c51f
1 Parent(s): 43fd0fe

Add more example images

Browse files
.gitignore CHANGED
@@ -1,2 +1,3 @@
1
  .vscode
2
  .ipynb_checkpoints
 
 
1
  .vscode
2
  .ipynb_checkpoints
3
+ .idea
app.py CHANGED
@@ -60,7 +60,9 @@ description = ""
60
 
61
  input = gr.inputs.Image(type="pil")
62
 
63
- example_images = sorted([f.as_posix() for f in Path("examples").glob("*.jpg")])
 
 
64
  print(f"Loaded {len(example_images)} example images")
65
 
66
  interface = gr.Interface(
@@ -70,7 +72,9 @@ interface = gr.Interface(
70
  title=title,
71
  description=description,
72
  examples=example_images,
 
73
  live=True,
 
74
  )
75
 
76
  interface.launch()
 
60
 
61
  input = gr.inputs.Image(type="pil")
62
 
63
+ example_images = sorted(
64
+ [f.as_posix() for f in Path("examples").glob("*.jpg")]
65
+ )
66
  print(f"Loaded {len(example_images)} example images")
67
 
68
  interface = gr.Interface(
 
72
  title=title,
73
  description=description,
74
  examples=example_images,
75
+ examples_per_page=20,
76
  live=True,
77
+ article='<p>Made by: <a href="https://twitter.com/kartik_godawat" target="_blank" rel="noopener noreferrer">dk-crazydiv</a> and <a href="https://twitter.com/dsr_ai" target="_blank" rel="noopener noreferrer">dsr</a></p>'
78
  )
79
 
80
  interface.launch()
examples/tt0109830-forrest-gump.jpg ADDED
examples/tt0434409-v-for-vendetta.jpg ADDED
examples/tt3521164-moana.jpg ADDED