Update TextGen/__init__.py
Browse files- TextGen/__init__.py +1 -0
TextGen/__init__.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from fastapi import FastAPI
|
2 |
from fastapi.middleware.cors import CORSMiddleware
|
3 |
|
|
|
4 |
app.add_middleware(
|
5 |
CORSMiddleware,
|
6 |
allow_origins=[],
|
|
|
1 |
from fastapi import FastAPI
|
2 |
from fastapi.middleware.cors import CORSMiddleware
|
3 |
|
4 |
+
app = FastAPI(title="Deploying FastAPI Apps on Huggingface")
|
5 |
app.add_middleware(
|
6 |
CORSMiddleware,
|
7 |
allow_origins=[],
|