Ahsen Khaliq commited on
Commit
beab364
·
1 Parent(s): df2f122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -490,6 +490,7 @@ description = "Gradio demo for Paint Transformer: Feed Forward Neural Painting w
490
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.03798'>Paint Transformer: Feed Forward Neural Painting with Stroke Prediction</a> | <a href='https://github.com/Huage001/PaintTransformer'>Github Repo</a></p>"
491
  gr.Interface(
492
  gradio_inference,
 
493
  gr.inputs.Image(type="file", label="Input"),
494
  [gr.outputs.Image(type="file", label="Output GIF"),
495
  gr.outputs.Image(type="pil", label="Output Image")],
@@ -499,6 +500,4 @@ gr.Interface(
499
  examples=[
500
  ['city.jpg'],
501
  ['tower.jpg']
502
- ],
503
- enable_queue=True
504
- ).launch(debug=True)
 
490
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.03798'>Paint Transformer: Feed Forward Neural Painting with Stroke Prediction</a> | <a href='https://github.com/Huage001/PaintTransformer'>Github Repo</a></p>"
491
  gr.Interface(
492
  gradio_inference,
493
+ enable_queue=True,
494
  gr.inputs.Image(type="file", label="Input"),
495
  [gr.outputs.Image(type="file", label="Output GIF"),
496
  gr.outputs.Image(type="pil", label="Output Image")],
 
500
  examples=[
501
  ['city.jpg'],
502
  ['tower.jpg']
503
+ ]).launch(debug=True)