Jonny001 commited on
Commit
20044ec
·
verified ·
1 Parent(s): 086b974

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -24,10 +24,9 @@ def color(image):
24
  return (image, unique_imgfilename)
25
 
26
 
27
- title = "Old Image Colourize"
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",title=title,description=description)
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)