Arafath10 commited on
Commit
d16f678
1 Parent(s): e5c0cc1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -4,11 +4,14 @@ except ImportError: # pip < 10.0
4
 
5
  pkgs = freeze.freeze()
6
  for pkg in pkgs: print(pkg)
7
-
8
  from fastapi import FastAPI, HTTPException, File, UploadFile
9
  from fastapi.middleware.cors import CORSMiddleware
10
  from PyPDF2 import PdfReader
11
 
 
 
 
12
  app = FastAPI()
13
 
14
  app.add_middleware(
 
4
 
5
  pkgs = freeze.freeze()
6
  for pkg in pkgs: print(pkg)
7
+ import os
8
  from fastapi import FastAPI, HTTPException, File, UploadFile
9
  from fastapi.middleware.cors import CORSMiddleware
10
  from PyPDF2 import PdfReader
11
 
12
+
13
+ secret = os.environ["key"]
14
+
15
  app = FastAPI()
16
 
17
  app.add_middleware(