Spaces:
Build error
Build error
PatrickSchrML
commited on
Commit
•
638b2c0
1
Parent(s):
e1206c6
removed unused code
Browse files
app.py
CHANGED
@@ -54,7 +54,6 @@ def infer(prompt, n_samples, steps, scale, seed):
|
|
54 |
# else:
|
55 |
# images.append(image)
|
56 |
# else:
|
57 |
-
url = os.getenv('BACKEND_URL')
|
58 |
response = safe_sd(prompt, int(n_samples), max(50,int(steps)), scale, seed)
|
59 |
#requests.get(url.format(prompt, int(n_samples), max(50,int(steps)), f'{scale:.1f}', int(seed)))
|
60 |
#response = requests.get(url.format('a%20naked%20girl', 2, 50, 7.5, 2))
|
|
|
54 |
# else:
|
55 |
# images.append(image)
|
56 |
# else:
|
|
|
57 |
response = safe_sd(prompt, int(n_samples), max(50,int(steps)), scale, seed)
|
58 |
#requests.get(url.format(prompt, int(n_samples), max(50,int(steps)), f'{scale:.1f}', int(seed)))
|
59 |
#response = requests.get(url.format('a%20naked%20girl', 2, 50, 7.5, 2))
|