heaversm commited on
Commit
abe7235
1 Parent(s): b6cbaeb

update env sample and remove dependencies from app

Browse files
Files changed (2) hide show
  1. app.py +0 -2
  2. env-sample +1 -1
app.py CHANGED
@@ -14,11 +14,9 @@ from google.cloud import aiplatform
14
  import vertexai
15
  from vertexai.preview.vision_models import ImageGenerationModel
16
  from vertexai import preview
17
- import uuid #for generating unique filenames
18
 
19
  # GCP credentials stuff
20
  import json
21
- import tempfile
22
  import pybase64
23
  from google.oauth2 import service_account
24
  import google.auth
 
14
  import vertexai
15
  from vertexai.preview.vision_models import ImageGenerationModel
16
  from vertexai import preview
 
17
 
18
  # GCP credentials stuff
19
  import json
 
20
  import pybase64
21
  from google.oauth2 import service_account
22
  import google.auth
env-sample CHANGED
@@ -1 +1 @@
1
- GOOGLE_APPLICATION_CREDENTIALS= <YOUR_GOOGLE_APPLICATION_CREDENTIALS>
 
1
+ IMAGEN=<YOUR_IMAGEN_BASE64_ENCODED_API_KEY>