invincible-jha commited on
Commit
46e3bf1
1 Parent(s): 40d9220

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
- from src.models import ModelManager, AudioProcessor, Analyzer
3
- from src.utils import visualizer, GPUOptimizer, ModelCache
4
 
5
  # Initialize components
6
  optimizer = GPUOptimizer()
@@ -59,4 +59,5 @@ interface = gr.Interface(
59
  description="Analyze voice for emotional and mental health indicators"
60
  )
61
 
62
- interface.launch()
 
 
1
  import gradio as gr
2
+ from models import ModelManager, AudioProcessor, Analyzer
3
+ from utils import visualizer, GPUOptimizer, ModelCache
4
 
5
  # Initialize components
6
  optimizer = GPUOptimizer()
 
59
  description="Analyze voice for emotional and mental health indicators"
60
  )
61
 
62
+ if __name__ == "__main__":
63
+ interface.launch()