Update TextGen/router.py
Browse files- TextGen/router.py +0 -8
TextGen/router.py
CHANGED
@@ -28,14 +28,6 @@ Eleven_client = ElevenLabs(
|
|
28 |
api_key=os.environ["ELEVEN_API_KEY"], # Defaults to ELEVEN_API_KEY
|
29 |
)
|
30 |
|
31 |
-
app.add_middleware(
|
32 |
-
CORSMiddleware,
|
33 |
-
allow_origins=["https://jofthomas-everchanging-quest.hf.space"],
|
34 |
-
allow_credentials=True,
|
35 |
-
allow_methods=["*"],
|
36 |
-
allow_headers=["*"],
|
37 |
-
)
|
38 |
-
|
39 |
|
40 |
Last_message=None
|
41 |
class PlayLastMusic(BaseModel):
|
|
|
28 |
api_key=os.environ["ELEVEN_API_KEY"], # Defaults to ELEVEN_API_KEY
|
29 |
)
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
Last_message=None
|
33 |
class PlayLastMusic(BaseModel):
|