Jofthomas HF staff commited on
Commit
5c47be1
1 Parent(s): 57aba77

Update TextGen/__init__.py

Browse files
Files changed (1) hide show
  1. 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=[],