Spaces:
Build error
Build error
Commit
·
d97de06
1
Parent(s):
8e404d4
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def infer(prompt, n_samples, steps, scale, seed):
|
|
40 |
# else:
|
41 |
# images.append(image)
|
42 |
# else:
|
43 |
-
url = os.getenv('
|
44 |
response = requests.get(url.format(prompt, int(n_samples), max(50,int(steps)), f'{scale:.1f}', int(seed)))
|
45 |
#response = requests.get(url.format('a%20naked%20girl', 2, 50, 7.5, 2))
|
46 |
data = json.load(BytesIO(response.content))
|
|
|
40 |
# else:
|
41 |
# images.append(image)
|
42 |
# else:
|
43 |
+
url = os.getenv('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')
|
44 |
response = requests.get(url.format(prompt, int(n_samples), max(50,int(steps)), f'{scale:.1f}', int(seed)))
|
45 |
#response = requests.get(url.format('a%20naked%20girl', 2, 50, 7.5, 2))
|
46 |
data = json.load(BytesIO(response.content))
|