Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,10 +24,9 @@ def color(image):
|
|
| 24 |
return (image, unique_imgfilename)
|
| 25 |
|
| 26 |
|
| 27 |
-
|
| 28 |
-
description = "Colourize Old images. "
|
| 29 |
|
| 30 |
-
demo = gr.Interface(fn=color,inputs="image",outputs=ImageSlider(position=0.5,label='Colored image with slider-view'),theme="Yntec/HaleyCH_Theme_Orange",
|
| 31 |
|
| 32 |
if __name__ == "__main__":
|
| 33 |
demo.launch(share=False)
|
|
|
|
| 24 |
return (image, unique_imgfilename)
|
| 25 |
|
| 26 |
|
| 27 |
+
description = "⚠ Sorry for the inconvenience. The Space is currently running on the CPU, which might affect performance. We appreciate your understanding."
|
|
|
|
| 28 |
|
| 29 |
+
demo = gr.Interface(fn=color,inputs="image",outputs=ImageSlider(position=0.5,label='Colored image with slider-view'),theme="Yntec/HaleyCH_Theme_Orange",description=description)
|
| 30 |
|
| 31 |
if __name__ == "__main__":
|
| 32 |
demo.launch(share=False)
|