reab5555 commited on
Commit
7a942e5
·
verified ·
1 Parent(s): 9b4ede0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -296,7 +296,7 @@ def plot_emotion(df, emotion):
296
  ax.xaxis.set_major_locator(MaxNLocator(nbins=100))
297
  ticks = ax.get_xticks()
298
  ax.set_xticklabels([df['Timecode'].iloc[int(tick)] if tick >= 0 and tick < len(df) else '' for tick in ticks], rotation=90, ha='right')
299
- plt.tight_layout()
300
  return fig
301
 
302
  def process_video(video_path, num_anomalies, num_components, desired_fps, batch_size, progress=gr.Progress()):
 
296
  ax.xaxis.set_major_locator(MaxNLocator(nbins=100))
297
  ticks = ax.get_xticks()
298
  ax.set_xticklabels([df['Timecode'].iloc[int(tick)] if tick >= 0 and tick < len(df) else '' for tick in ticks], rotation=90, ha='right')
299
+ plt.tight_layout()
300
  return fig
301
 
302
  def process_video(video_path, num_anomalies, num_components, desired_fps, batch_size, progress=gr.Progress()):