Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def yolov9_inference(model_id, img_path=None, vid_path=None, tracking_algorithm
|
|
113 |
fig, ax = plt.subplots(figsize=(10, 6))
|
114 |
#for label in labels:
|
115 |
#df_label = frame_counts_df[frame_counts_df['label'] == label]
|
116 |
-
sns.lineplot(ax = ax, data = frame_counts_df, x = 'frame', y = 'count', hue = 'label', palette=palette,
|
117 |
|
118 |
ax.set_title('Count of Labels over Frames', fontsize=20, pad=20) # Increase padding for the title
|
119 |
ax.set_xlabel('Frame', fontsize=16) # Increase font size
|
|
|
113 |
fig, ax = plt.subplots(figsize=(10, 6))
|
114 |
#for label in labels:
|
115 |
#df_label = frame_counts_df[frame_counts_df['label'] == label]
|
116 |
+
sns.lineplot(ax = ax, data = frame_counts_df, x = 'frame', y = 'count', hue = 'label', palette=palette,linewidth=2.5)
|
117 |
|
118 |
ax.set_title('Count of Labels over Frames', fontsize=20, pad=20) # Increase padding for the title
|
119 |
ax.set_xlabel('Frame', fontsize=16) # Increase font size
|