Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,12 +19,6 @@ from PIL import Image
|
|
19 |
from stability_sdk import client
|
20 |
import stability_sdk.interfaces.gooseai.generation.generation_pb2 as generation
|
21 |
|
22 |
-
# os.environ['STABILITY_HOST'] = 'grpc.stability.ai:443'
|
23 |
-
# os.environ['STABILITY_KEY'] = 'sk-Ndzkpi6OYwM5fQgEJAVwRPbFZSMNyFk0GoZw1EvNtqVExGdi'
|
24 |
-
# os.environ['GOOGLE_API'] = 'e77d5416608a110ea2babd7b2e33ede48b0c4159ade5cfd5cebbc7483c513ff3'
|
25 |
-
# os.environ['OPENAI_KEY'] = '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'
|
26 |
-
|
27 |
-
|
28 |
stability_api = client.StabilityInference(
|
29 |
key=os.environ.getattribute('STABILITY_KEY'),
|
30 |
# key=os.environ['STABILITY_KEY'], # API Key reference.
|
|
|
19 |
from stability_sdk import client
|
20 |
import stability_sdk.interfaces.gooseai.generation.generation_pb2 as generation
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
stability_api = client.StabilityInference(
|
23 |
key=os.environ.getattribute('STABILITY_KEY'),
|
24 |
# key=os.environ['STABILITY_KEY'], # API Key reference.
|