Spaces:
Sleeping
Sleeping
changes in app.py
Browse files
app.py
CHANGED
|
@@ -91,12 +91,6 @@ def analyze_garment(image):
|
|
| 91 |
|
| 92 |
return response.text if response else "Analysis failed."
|
| 93 |
|
| 94 |
-
|
| 95 |
-
# Call Gemini API
|
| 96 |
-
response = model.generate_content(prompt)
|
| 97 |
-
|
| 98 |
-
return response.text if response else "Analysis failed."
|
| 99 |
-
|
| 100 |
# Load segmentation model
|
| 101 |
segmentation_model = load_segmentation_model()
|
| 102 |
|
|
|
|
| 91 |
|
| 92 |
return response.text if response else "Analysis failed."
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
# Load segmentation model
|
| 95 |
segmentation_model = load_segmentation_model()
|
| 96 |
|