Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
bd4a18f
1
Parent(s):
beab364
Update app.py
Browse files
app.py
CHANGED
@@ -490,13 +490,13 @@ 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 |
-
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")],
|
497 |
title=title,
|
498 |
description=description,
|
499 |
article=article,
|
|
|
500 |
examples=[
|
501 |
['city.jpg'],
|
502 |
['tower.jpg']
|
|
|
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")],
|
496 |
title=title,
|
497 |
description=description,
|
498 |
article=article,
|
499 |
+
enable_queue=True,
|
500 |
examples=[
|
501 |
['city.jpg'],
|
502 |
['tower.jpg']
|