jamino30 commited on
Commit
df250fa
·
verified ·
1 Parent(s): ad85111

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -123,7 +123,9 @@ def transfer_style(content_image):
123
 
124
  interface = gr.Interface(
125
  fn=transfer_style,
126
- inputs=[gr.Image(label='Content', type='pil')],
 
 
127
  outputs=[
128
  gr.Image(label='Output', show_download_button=True),
129
  gr.Label(label='Progress')
 
123
 
124
  interface = gr.Interface(
125
  fn=transfer_style,
126
+ inputs=[
127
+ gr.Image(label='Content', type='pil', sources=['upload'])
128
+ ],
129
  outputs=[
130
  gr.Image(label='Output', show_download_button=True),
131
  gr.Label(label='Progress')