jamino30 commited on
Commit
9edbc68
·
verified ·
1 Parent(s): 632c209

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -133,11 +133,8 @@ def inference(content_image, style_image, progress=gr.Progress(track_tqdm=True))
133
 
134
  et = time.time()
135
  print('TIME TAKEN:', et-st)
136
- return (content_image, save_img(generated_img, original_size))
137
-
138
- css = """
139
- #style, #progress-label { height: 100px }
140
- """
141
 
142
  interface = gr.Interface(
143
  fn=inference,
@@ -157,5 +154,5 @@ interface = gr.Interface(
157
  ['./content_images/Beach.jpg', 'Oil Painting'],
158
  ['./content_images/StandingOnCliff.png', 'Great Wave'],
159
  ],
160
- css=css
161
  ).launch(inbrowser=True)
 
133
 
134
  et = time.time()
135
  print('TIME TAKEN:', et-st)
136
+ return content_image, save_img(generated_img, original_size)
137
+
 
 
 
138
 
139
  interface = gr.Interface(
140
  fn=inference,
 
154
  ['./content_images/Beach.jpg', 'Oil Painting'],
155
  ['./content_images/StandingOnCliff.png', 'Great Wave'],
156
  ],
157
+ cache_examples=False
158
  ).launch(inbrowser=True)