npc0 commited on
Commit
af5339f
β€’
1 Parent(s): 2eb8548

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -108,12 +108,12 @@ import gradio as gr
108
  def greet(img):
109
  if check_solarplant_installed_by_image(img):
110
  seg = segment_solar_panel(img)
111
- return (seg, '')
112
  # return (seg,
113
  # "θ»Šη‰ŒοΌš " + '; '.join(lns) + "\n\n" \
114
  # + "ι‘žεž‹οΌš "+ check_solarplant_installed_by_image(img, True) + "\n\n" \
115
  # + "η‹€ζ…‹οΌš" + check_solarplant_broken(img))
116
- return (img, "η©Ίεœ°γ€‚γ€‚γ€‚")
117
 
118
  iface = gr.Interface(fn=greet, inputs="image", outputs=["image", "text"])
119
  iface.launch()
 
108
  def greet(img):
109
  if check_solarplant_installed_by_image(img):
110
  seg = segment_solar_panel(img)
111
+ return (seg, 'ε˜—θ©¦εˆ†ε‰²ε€ͺι™½θƒ½ζΏιƒ¨εˆ†')
112
  # return (seg,
113
  # "θ»Šη‰ŒοΌš " + '; '.join(lns) + "\n\n" \
114
  # + "ι‘žεž‹οΌš "+ check_solarplant_installed_by_image(img, True) + "\n\n" \
115
  # + "η‹€ζ…‹οΌš" + check_solarplant_broken(img))
116
+ return (img, "ζ²’ζœ‰ε€ͺι™½θƒ½ζΏιƒ¨εˆ†εˆ†ε‰²")
117
 
118
  iface = gr.Interface(fn=greet, inputs="image", outputs=["image", "text"])
119
  iface.launch()