invincible-jha
commited on
Commit
•
46e3bf1
1
Parent(s):
40d9220
Upload app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
from
|
3 |
-
from
|
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 |
-
|
|
|
|
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()
|