Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def yolov9_inference(model_id, img_path=None, vid_path=None, tracking_algorithm
|
|
84 |
output_image = output_path # Load the image file here
|
85 |
output_video = None
|
86 |
plt.style.use("ggplot")
|
87 |
-
fig, ax = plt.subplots(figsize=(10, 6))
|
88 |
#for label in labels:
|
89 |
#df_label = frame_counts_df[frame_counts_df['label'] == label]
|
90 |
|
@@ -111,7 +111,7 @@ def yolov9_inference(model_id, img_path=None, vid_path=None, tracking_algorithm
|
|
111 |
output_video = output_path # Load the video file here
|
112 |
output_image = None
|
113 |
plt.style.use("ggplot")
|
114 |
-
fig, ax = plt.subplots(figsize=(10, 6))
|
115 |
#for label in labels:
|
116 |
#df_label = frame_counts_df[frame_counts_df['label'] == label]
|
117 |
sns.lineplot(ax = ax, data = frame_counts_df, x = 'frame', y = 'count', hue = 'label', palette=palette,linewidth=2.5)
|
|
|
84 |
output_image = output_path # Load the image file here
|
85 |
output_video = None
|
86 |
plt.style.use("ggplot")
|
87 |
+
fig, ax = plt.subplots(figsize=(10, 6), dpi = 300)
|
88 |
#for label in labels:
|
89 |
#df_label = frame_counts_df[frame_counts_df['label'] == label]
|
90 |
|
|
|
111 |
output_video = output_path # Load the video file here
|
112 |
output_image = None
|
113 |
plt.style.use("ggplot")
|
114 |
+
fig, ax = plt.subplots(figsize=(10, 6), dpi = 300300)
|
115 |
#for label in labels:
|
116 |
#df_label = frame_counts_df[frame_counts_df['label'] == label]
|
117 |
sns.lineplot(ax = ax, data = frame_counts_df, x = 'frame', y = 'count', hue = 'label', palette=palette,linewidth=2.5)
|