ntsc207 commited on
Commit
8e8faee
·
verified ·
1 Parent(s): 413ff00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, label = 'slinear',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
 
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