Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def run(content_image, style_name, style_strength, output_quality, progress=gr.P
|
|
66 |
et = time.time()
|
67 |
print('TIME TAKEN:', et-st)
|
68 |
|
69 |
-
|
70 |
|
71 |
|
72 |
def set_slider(value):
|
@@ -148,4 +148,4 @@ with gr.Blocks(css=css) as demo:
|
|
148 |
|
149 |
demo.queue = False
|
150 |
demo.config['queue'] = False
|
151 |
-
demo.launch(show_api=False)
|
|
|
66 |
et = time.time()
|
67 |
print('TIME TAKEN:', et-st)
|
68 |
|
69 |
+
return postprocess_img(generated_img, original_size)
|
70 |
|
71 |
|
72 |
def set_slider(value):
|
|
|
148 |
|
149 |
demo.queue = False
|
150 |
demo.config['queue'] = False
|
151 |
+
demo.launch(show_api=False)
|