AaronWu901225 commited on
Commit
c9c8ea7
·
verified ·
1 Parent(s): e78a26e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -73,10 +73,6 @@ def app():
73
  outputs=seg_result
74
  )
75
 
76
- with gr.Blocks() as demo:
77
- gr.Markdown("# 影像處理功能展示")
78
- gr.Markdown("本應用程式展示了使用 OpenCV 實現的影像處理功能,包括手動調整 RGB 範圍的色彩濾鏡功能。")
79
-
80
  with gr.Tab("色彩濾鏡 (手動調整 RGB)"):
81
  with gr.Row():
82
  input_image = gr.Image(label="輸入圖片")
@@ -97,9 +93,6 @@ def app():
97
 
98
  return demo
99
 
100
-
101
- return demo
102
-
103
  # 啟動應用程式
104
  if __name__ == "__main__":
105
  app().launch()
 
73
  outputs=seg_result
74
  )
75
 
 
 
 
 
76
  with gr.Tab("色彩濾鏡 (手動調整 RGB)"):
77
  with gr.Row():
78
  input_image = gr.Image(label="輸入圖片")
 
93
 
94
  return demo
95
 
 
 
 
96
  # 啟動應用程式
97
  if __name__ == "__main__":
98
  app().launch()