Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -124,4 +124,4 @@ description = "Gradio Demo for GANdalf: One Shot Face Tolekization. To use it, s
|
|
124 |
article = "<p style='text-align: center'>GANdalf: One Shot Face Tolkeinization</a>| <a href='https://github.com/hlydecker/GANDalf' target='_blank'>Github Repo Pytorch</a></p> <center></center>"
|
125 |
|
126 |
examples=[['mona.png','Gollum Moderate']]
|
127 |
-
gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['Gollum Moderate', 'Gollum Extreme'], type="value", default='Gollum Moderate', label="Model")], gr.outputs.Image(type="file"),title=title,description=description,article=article,allow_flagging=False,examples=examples
|
|
|
124 |
article = "<p style='text-align: center'>GANdalf: One Shot Face Tolkeinization</a>| <a href='https://github.com/hlydecker/GANDalf' target='_blank'>Github Repo Pytorch</a></p> <center></center>"
|
125 |
|
126 |
examples=[['mona.png','Gollum Moderate']]
|
127 |
+
gr.Interface(inference, [gr.inputs.Image(type="pil"),gr.inputs.Dropdown(choices=['Gollum Moderate', 'Gollum Extreme'], type="value", default='Gollum Moderate', label="Model")], gr.outputs.Image(type="file"),title=title,description=description,article=article,allow_flagging=False,examples=examples).launch()
|