Ahsen Khaliq commited on
Commit
41b8a6e
·
1 Parent(s): ffda472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -14,9 +14,10 @@ def inference(content,style):
14
  os.system("python main.py eval --content "+content+" --style "+style)
15
  return "ics.jpg"
16
 
17
- title = "Anime2Sketch"
18
- 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."
19
- 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>"
 
20
 
21
  gr.Interface(
22
  inference,
@@ -25,4 +26,4 @@ gr.Interface(
25
  title=title,
26
  description=description,
27
  article=article,
28
- ).launch()
 
14
  os.system("python main.py eval --content "+content+" --style "+style)
15
  return "ics.jpg"
16
 
17
+ title = "PAMA"
18
+ description = "Gradio demo for PAMA: Consistent Style Transfer. To use it, simply upload your images, or click one of the examples to load them. Read more at the links below."
19
+
20
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.02233' target='_blank'>Consistent Style Transfer</a> | <a href='https://github.com/computer-vision2022/PAMA' target='_blank'>Github Repo</a></p>"
21
 
22
  gr.Interface(
23
  inference,
 
26
  title=title,
27
  description=description,
28
  article=article,
29
+ ).launch(enable_queue=True)