Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ def get_output(input_image):
|
|
219 |
if os.path.exists(output_path):
|
220 |
return np.array(Image.open(output_path))
|
221 |
else:
|
222 |
-
|
223 |
|
224 |
|
225 |
demo = gr.Interface(fn=get_output, inputs="image", outputs="image")
|
|
|
219 |
if os.path.exists(output_path):
|
220 |
return np.array(Image.open(output_path))
|
221 |
else:
|
222 |
+
return input_image
|
223 |
|
224 |
|
225 |
demo = gr.Interface(fn=get_output, inputs="image", outputs="image")
|