Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -268,7 +268,6 @@ async def text_to_speech(
|
|
268 |
# Main Execution
|
269 |
# ============================================================================
|
270 |
|
271 |
-
|
272 |
from fastapi.middleware.cors import CORSMiddleware
|
273 |
|
274 |
# CORS middleware setup
|
@@ -290,7 +289,6 @@ app.add_middleware(
|
|
290 |
allow_methods=["GET", "POST"],
|
291 |
allow_headers=["*"],
|
292 |
)
|
293 |
-
|
294 |
if __name__ == "__main__":
|
295 |
import uvicorn
|
296 |
uvicorn.run(app, host="0.0.0.0", port=8000)
|
|
|
268 |
# Main Execution
|
269 |
# ============================================================================
|
270 |
|
|
|
271 |
from fastapi.middleware.cors import CORSMiddleware
|
272 |
|
273 |
# CORS middleware setup
|
|
|
289 |
allow_methods=["GET", "POST"],
|
290 |
allow_headers=["*"],
|
291 |
)
|
|
|
292 |
if __name__ == "__main__":
|
293 |
import uvicorn
|
294 |
uvicorn.run(app, host="0.0.0.0", port=8000)
|