Spaces:
Running
Running
stable-diffusion-ai
commited on
Commit
·
0f36ce1
1
Parent(s):
0db98ef
update app.py : variabilized model as env.
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import sys
|
|
4 |
import json
|
5 |
import requests
|
6 |
|
7 |
-
MODEL = "
|
8 |
API_URL = os.getenv("API_URL")
|
9 |
DISABLED = os.getenv("DISABLED") == 'True'
|
10 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
|
|
4 |
import json
|
5 |
import requests
|
6 |
|
7 |
+
MODEL = os.getenv("MODEL")
|
8 |
API_URL = os.getenv("API_URL")
|
9 |
DISABLED = os.getenv("DISABLED") == 'True'
|
10 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|