gsacco15 commited on
Commit
d4fa371
·
verified ·
1 Parent(s): 70786e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -15
app.py CHANGED
@@ -165,18 +165,4 @@ def analyze_room(image):
165
  }
166
  }
167
 
168
- return overlay_img, results
169
-
170
- demo = gr.Interface(
171
- fn=analyze_room,
172
- inputs=gr.Image(type="pil", label="Upload Room Photo"),
173
- outputs=[
174
- gr.Image(type="pil", label="AI Analysis"),
175
- gr.JSON(label="Results")
176
- ],
177
- title="🏠 Room Estimator - SAM 3.0",
178
- description="Upload a photo of any room to get instant material estimates and costs.",
179
- allow_flagging="never"
180
- )
181
-
182
- demo.launch()
 
165
  }
166
  }
167
 
168
+ return overlay_img, results