Spaces:
Running
Running
Update app.py
Browse filesCorrected hd image stat mistake
app.py
CHANGED
@@ -459,7 +459,7 @@ def make_image(prompt, user, pwd):
|
|
459 |
image.save(fpath)
|
460 |
with open(image_count_path(user), 'at') as fp:
|
461 |
if quality == 'hd':
|
462 |
-
fp.write('hd')
|
463 |
else:
|
464 |
fp.write('1\n')
|
465 |
msg = 'Image created!'
|
|
|
459 |
image.save(fpath)
|
460 |
with open(image_count_path(user), 'at') as fp:
|
461 |
if quality == 'hd':
|
462 |
+
fp.write('hd\n')
|
463 |
else:
|
464 |
fp.write('1\n')
|
465 |
msg = 'Image created!'
|