pvanand commited on
Commit
1eae296
·
verified ·
1 Parent(s): 743611f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -9
main.py CHANGED
@@ -26,15 +26,6 @@ app = FastAPI(
26
  version="1.0.0",
27
  )
28
 
29
- # Set up CORS
30
- app.add_middleware(
31
- CORSMiddleware,
32
- allow_origins=["*"], # Allows all origins
33
- allow_credentials=True,
34
- allow_methods=["*"], # Allows all methods
35
- allow_headers=["*"], # Allows all headers
36
- )
37
-
38
  # Define supported languages and their corresponding model files
39
  SUPPORTED_LANGUAGES: Dict[str, Dict[str, str]] = {
40
  "hin": {"name": "Hindi", "file": "mms-tts-hin.onnx"},
 
26
  version="1.0.0",
27
  )
28
 
 
 
 
 
 
 
 
 
 
29
  # Define supported languages and their corresponding model files
30
  SUPPORTED_LANGUAGES: Dict[str, Dict[str, str]] = {
31
  "hin": {"name": "Hindi", "file": "mms-tts-hin.onnx"},