Spaces:
Runtime error
Runtime error
update env sample and remove dependencies from app
Browse files- app.py +0 -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 |
-
|
|
|
1 |
+
IMAGEN=<YOUR_IMAGEN_BASE64_ENCODED_API_KEY>
|