Pratyush101 commited on
Commit
cf32132
·
verified ·
1 Parent(s): 1c81ee4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -221,12 +221,6 @@ class Detection(NamedTuple):
221
  score: float
222
  box: np.ndarray
223
 
224
- @st.cache_resource # type: ignore
225
- def generate_label_colors():
226
- return np.random.uniform(0, 255, size=(len(CLASSES), 3))
227
-
228
-
229
- COLORS = generate_label_colors()
230
 
231
  # Angle calculation function
232
  def calculate_angle(a, b, c):
 
221
  score: float
222
  box: np.ndarray
223
 
 
 
 
 
 
 
224
 
225
  # Angle calculation function
226
  def calculate_angle(a, b, c):