Mallisetty Siva Mahesh commited on
Commit
a65c5ef
·
1 Parent(s): cb16386

chnages in pdf

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1,10 +1,15 @@
1
  from fastapi import FastAPI, File, UploadFile, HTTPException
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from typing import Dict
4
- import os
5
  import shutil
6
  import torch
7
  import logging
 
 
 
 
 
 
8
  from s3_setup import s3_client
9
  import requests
10
  from fastapi import FastAPI, HTTPException, Request
 
1
  from fastapi import FastAPI, File, UploadFile, HTTPException
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from typing import Dict
 
4
  import shutil
5
  import torch
6
  import logging
7
+ import os
8
+
9
+ # Set Google Application Credentials
10
+ os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = (
11
+ "titanium-scope-436311-t3-966373f5aa2f.json"
12
+ )
13
  from s3_setup import s3_client
14
  import requests
15
  from fastapi import FastAPI, HTTPException, Request