rhazeljay commited on
Commit
804b0e5
·
verified ·
1 Parent(s): bff2b98

changes in app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
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