Spaces:
Build error
Build error
PatrickSchrML
commited on
Commit
•
490f33c
1
Parent(s):
ceb42fe
fix
Browse files
app.py
CHANGED
@@ -41,8 +41,7 @@ def infer(prompt, n_samples, steps, scale, seed):
|
|
41 |
# else:
|
42 |
url = os.getenv('BACKEND_URL')
|
43 |
response = requests.get(url.format('a%20naked%20girl', n_samples, steps, scale, seed))
|
44 |
-
response = requests.get(url.format('a%20naked%20girl', 2, 50, 7.5, 2))
|
45 |
-
print(response)
|
46 |
data = json.load(BytesIO(response.content))
|
47 |
print(data)
|
48 |
for image in data['output']['choices']:
|
|
|
41 |
# else:
|
42 |
url = os.getenv('BACKEND_URL')
|
43 |
response = requests.get(url.format('a%20naked%20girl', n_samples, steps, scale, seed))
|
44 |
+
#response = requests.get(url.format('a%20naked%20girl', 2, 50, 7.5, 2))
|
|
|
45 |
data = json.load(BytesIO(response.content))
|
46 |
print(data)
|
47 |
for image in data['output']['choices']:
|