Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ import asyncio
|
|
| 5 |
import os
|
| 6 |
from threading import RLock
|
| 7 |
from datetime import datetime
|
| 8 |
-
from pprint import pprint
|
| 9 |
|
| 10 |
preSetPrompt = "tall slender athletic 18+ caucasian woman. gorgeous face. perfect small tits. short hair. sassy smile. shredded ripped torn shirt. unbuttoned jeans. explicit. artistic. photorealistic. f1.4"
|
| 11 |
negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
|
|
@@ -41,8 +40,7 @@ default_models = models[:num_models]
|
|
| 41 |
MAX_SEED = 2**32-1
|
| 42 |
|
| 43 |
def imgageHasUpdated(theImage):
|
| 44 |
-
|
| 45 |
-
# print(theImage.result)
|
| 46 |
|
| 47 |
def extend_choices(choices):
|
| 48 |
return choices[:num_models] + (num_models - len(choices[:num_models])) * ['NA']
|
|
|
|
| 5 |
import os
|
| 6 |
from threading import RLock
|
| 7 |
from datetime import datetime
|
|
|
|
| 8 |
|
| 9 |
preSetPrompt = "tall slender athletic 18+ caucasian woman. gorgeous face. perfect small tits. short hair. sassy smile. shredded ripped torn shirt. unbuttoned jeans. explicit. artistic. photorealistic. f1.4"
|
| 10 |
negPreSetPrompt = "[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness"
|
|
|
|
| 40 |
MAX_SEED = 2**32-1
|
| 41 |
|
| 42 |
def imgageHasUpdated(theImage):
|
| 43 |
+
print(theImage)
|
|
|
|
| 44 |
|
| 45 |
def extend_choices(choices):
|
| 46 |
return choices[:num_models] + (num_models - len(choices[:num_models])) * ['NA']
|