Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ css = """
|
|
150 |
with gr.Blocks(css=css) as demo:
|
151 |
gr.HTML("<h1 style='text-align: center; padding: 10px'>🖼️ Neural Style Transfer</h1>")
|
152 |
with gr.Column(elem_id='container'):
|
153 |
-
content_and_output = gr.Image(show_label=False, type='pil', sources=['upload'], format='
|
154 |
style_dropdown = gr.Radio(choices=list(style_options.keys()), label='Choose a style', value='Starry Night', type='value')
|
155 |
with gr.Accordion('Adjustments', open=False):
|
156 |
with gr.Group():
|
|
|
150 |
with gr.Blocks(css=css) as demo:
|
151 |
gr.HTML("<h1 style='text-align: center; padding: 10px'>🖼️ Neural Style Transfer</h1>")
|
152 |
with gr.Column(elem_id='container'):
|
153 |
+
content_and_output = gr.Image(show_label=False, type='pil', sources=['upload'], format='jpg')
|
154 |
style_dropdown = gr.Radio(choices=list(style_options.keys()), label='Choose a style', value='Starry Night', type='value')
|
155 |
with gr.Accordion('Adjustments', open=False):
|
156 |
with gr.Group():
|