Ahsen Khaliq commited on
Commit
461d0e9
·
1 Parent(s): ec35a1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def inference(video):
27
  title = "Anime2Sketch"
28
  description = "demo for Anime2Sketch. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
29
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.05703'>Adversarial Open Domain Adaption for Sketch-to-Photo Synthesis</a> | <a href='https://github.com/Mukosame/Anime2Sketch'>Github Repo</a></p>"
30
-
31
  gr.Interface(
32
  inference,
33
  gr.inputs.Video(label="Input"),
@@ -35,5 +35,6 @@ gr.Interface(
35
  title=title,
36
  description=description,
37
  article=article,
38
- enable_queue=True
 
39
  ).launch(debug=True)
 
27
  title = "Anime2Sketch"
28
  description = "demo for Anime2Sketch. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
29
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.05703'>Adversarial Open Domain Adaption for Sketch-to-Photo Synthesis</a> | <a href='https://github.com/Mukosame/Anime2Sketch'>Github Repo</a></p>"
30
+ examples = [['pexels-darina-belonogova-7539228.mp4']]
31
  gr.Interface(
32
  inference,
33
  gr.inputs.Video(label="Input"),
 
35
  title=title,
36
  description=description,
37
  article=article,
38
+ enable_queue=True,
39
+ examples=examples
40
  ).launch(debug=True)