Prathamesh Sarjerao Vaidya
commited on
Update web_app.py
Browse files- web_app.py +2 -1
web_app.py
CHANGED
|
@@ -203,6 +203,7 @@ class DemoManager:
|
|
| 203 |
|
| 204 |
async def process_demo_file(self, demo_id: str, file_path: Path, results_path: Path):
|
| 205 |
"""Process demo file using actual pipeline and cache results."""
|
|
|
|
| 206 |
try:
|
| 207 |
# Initialize pipeline for demo processing
|
| 208 |
pipeline = AudioIntelligencePipeline(
|
|
@@ -919,4 +920,4 @@ if __name__ == "__main__":
|
|
| 919 |
port=8000,
|
| 920 |
reload=True,
|
| 921 |
log_level="info"
|
| 922 |
-
)
|
|
|
|
| 203 |
|
| 204 |
async def process_demo_file(self, demo_id: str, file_path: Path, results_path: Path):
|
| 205 |
"""Process demo file using actual pipeline and cache results."""
|
| 206 |
+
config = DEMO_FILES[demo_id]
|
| 207 |
try:
|
| 208 |
# Initialize pipeline for demo processing
|
| 209 |
pipeline = AudioIntelligencePipeline(
|
|
|
|
| 920 |
port=8000,
|
| 921 |
reload=True,
|
| 922 |
log_level="info"
|
| 923 |
+
)
|