Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ css = """
|
|
104 |
with gr.Blocks(css=css) as demo:
|
105 |
gr.HTML("<h1 style='text-align: center; padding: 10px'>🖼️ Neural Style Transfer</h1>")
|
106 |
with gr.Column(elem_id='container'):
|
107 |
-
content_and_output = gr.Image(label='Content', show_label=False, type='pil', sources=['upload'], format='jpg', show_download_button=False)
|
108 |
style_dropdown = gr.Radio(choices=list(style_options.keys()), label='Style', info='Note: Adjustments automatically optimize for different styles.', value='Starry Night', type='value')
|
109 |
with gr.Accordion('Adjustments', open=False):
|
110 |
with gr.Group():
|
|
|
104 |
with gr.Blocks(css=css) as demo:
|
105 |
gr.HTML("<h1 style='text-align: center; padding: 10px'>🖼️ Neural Style Transfer</h1>")
|
106 |
with gr.Column(elem_id='container'):
|
107 |
+
content_and_output = gr.Image(label='Content', show_label=False, type='pil', sources=['upload', 'webcam'], format='jpg', show_download_button=False)
|
108 |
style_dropdown = gr.Radio(choices=list(style_options.keys()), label='Style', info='Note: Adjustments automatically optimize for different styles.', value='Starry Night', type='value')
|
109 |
with gr.Accordion('Adjustments', open=False):
|
110 |
with gr.Group():
|