Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
·
a4c64a2
1
Parent(s):
4ddbaa1
Update app.py
Browse files
app.py
CHANGED
@@ -33,4 +33,4 @@ article = "<p style='text-align: center'><a href='https://github.com/bryandlee/a
|
|
33 |
examples=[['groot.jpeg','version 2'],['bill.png','version 1'],['tony.png','version 1'],['elon.png','version 2'],['IU.png','version 1'],['billie.png','version 2'],['will.png','version 2'],['beyonce.jpeg','version 1'],['gongyoo.jpeg','version 1']]
|
34 |
|
35 |
gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Radio(['version 1','version 2'], type="value", default='version 2', label='version')
|
36 |
-
], gr.outputs.Image(type="pil"),title=title,description=description,article=article,enable_queue=True,examples=examples
|
|
|
33 |
examples=[['groot.jpeg','version 2'],['bill.png','version 1'],['tony.png','version 1'],['elon.png','version 2'],['IU.png','version 1'],['billie.png','version 2'],['will.png','version 2'],['beyonce.jpeg','version 1'],['gongyoo.jpeg','version 1']]
|
34 |
|
35 |
gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Radio(['version 1','version 2'], type="value", default='version 2', label='version')
|
36 |
+
], gr.outputs.Image(type="pil"),title=title,description=description,article=article,enable_queue=True,examples=examples).launch()
|