Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -143,10 +143,6 @@ def colorize_image(input_image, mode):
|
|
143 |
elif mode == "Comparison":
|
144 |
return resnet_colorized, mobilenet_colorized, autoencoder_colorized
|
145 |
|
146 |
-
def colorize_single_image(input_image, positive_prompt, negative_prompt, generate_caption):
|
147 |
-
|
148 |
-
caption = "Generated Caption Example" if generate_caption else ""
|
149 |
-
return input_image, caption
|
150 |
|
151 |
def gradio_interface():
|
152 |
with gr.Blocks() as app:
|
|
|
143 |
elif mode == "Comparison":
|
144 |
return resnet_colorized, mobilenet_colorized, autoencoder_colorized
|
145 |
|
|
|
|
|
|
|
|
|
146 |
|
147 |
def gradio_interface():
|
148 |
with gr.Blocks() as app:
|