jin5605 commited on
Commit
daeff05
Β·
1 Parent(s): 07fe1c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -102,8 +102,8 @@ def sepia(input_img):
102
  return fig
103
 
104
  demo = gr.Interface(fn=sepia,
105
- inputs=gr.Image(shape=(400, 600), label="Upload an image:", type="pil", theme="compact"), # Compact ν…Œλ§ˆ
106
- outputs=[gr.Image(plot=True, label="Segmentation Map", type="pil", theme="compact")], # Compact ν…Œλ§ˆ
107
  examples=["city-1.jpg", "city-2.jpg", "city-3.jpg"],
108
  allow_flagging='never')
109
 
 
102
  return fig
103
 
104
  demo = gr.Interface(fn=sepia,
105
+ inputs=gr.Image(shape=(400, 600), label="Upload an image:", type="pil", theme="dark"), # Dark ν…Œλ§ˆ
106
+ outputs=[gr.Image(plot=True, label="Segmentation Map", type="pil", theme="dark")], # Dark ν…Œλ§ˆ
107
  examples=["city-1.jpg", "city-2.jpg", "city-3.jpg"],
108
  allow_flagging='never')
109