Test to not allow duplicate of space
Browse files3 unmodified lines45678910113 unmodified linesapp = FastAPI(title="Deploying FastAPI Apps on Huggingface")app.add_middleware(CORSMiddleware,allow_origins=[],allow_origin_regex=r"^https://jofthomas-.*\.hf\.space$",allow_credentials=True,allow_methods=["*"],allow_headers=["*"],3 unmodified lines456789103 unmodified linesapp = FastAPI(title="Deploying FastAPI Apps on Huggingface")app.add_middleware(CORSMiddleware,allow_origins=["https://jofthomas-everchanging-quest.static.hf.space"],allow_credentials=True,allow_methods=["*"],allow_headers=["*"],
TextGen/__init__.py+1-2