farbverlauf commited on
Commit
92c6620
·
1 Parent(s): 92da7ef
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -1,4 +1,3 @@
1
- # import spaces
2
  import gradio as gr
3
  import torchaudio
4
  import pandas as pd
@@ -150,7 +149,6 @@ def get_top_emotion(probabilities):
150
  return f"{LABEL_TO_EMOTION[max_idx]} ({max(probabilities)*100:.1f}%)"
151
 
152
 
153
- # @spaces.GPU
154
  def process_audio(audio_path):
155
  """Main processing pipeline."""
156
  try:
 
 
1
  import gradio as gr
2
  import torchaudio
3
  import pandas as pd
 
149
  return f"{LABEL_TO_EMOTION[max_idx]} ({max(probabilities)*100:.1f}%)"
150
 
151
 
 
152
  def process_audio(audio_path):
153
  """Main processing pipeline."""
154
  try: