Update app.py
Browse files
app.py
CHANGED
|
@@ -57,18 +57,23 @@ def send_it1(inputs, noise_level, proc=proc1):
|
|
| 57 |
return output
|
| 58 |
import random
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
def get_prompts(prompt_text):
|
| 61 |
global request_counter
|
| 62 |
request_counter += 1
|
| 63 |
timestamp = f"{time.time()}_{request_counter}"
|
| 64 |
-
options = [", Editorial Photography, Shot on 70mm lens, Depth of Field, Bokeh, DOF, Tilt Blur, Shutter Speed 1/1000, F/22, 32k, Super-Resolution, award winning,"
|
| 65 |
-
" , high detail, warm lighting, volumetric, godrays, vivid, beautiful, trending on artstation, by jordan grimmer, huge scene, grass, art greg rutkowski "
|
| 66 |
-
" , highly detailed, digital painting, artstation, illustration, art by artgerm and greg rutkowski and alphonse mucha."
|
| 67 |
-
" , Charlie Bowater, stanley artgerm lau, a character portrait, sots art, sharp focus, smooth, aesthetic, extremely detailed, octane render,solo, dark industrial background, rtx, rock clothes, cinematic light, intricate detail, highly detailed, high res, detailed facial features"
|
| 68 |
-
", portrait photograph, hair, (sultry flirty look), ((gorgeous symmetrical face)), cute natural makeup, realistic, concept art, elegant, highly detailed, intricate, sharp focus, depth of field, f/1. 8, 85mm, medium shot, mid shot, (((professionally color graded))), sharp focus, bright soft diffused light, (volumetric fog),"
|
| 69 |
-
" ,Cinematic film still,(dark city street:1.2), (cold colors), damp, moist, intricate details, shallow depth of field, [volumetric fog], cinematic lighting, reflections, photographed on a Canon EOS R5, 50mm lens, F/2.8, HDR, 8k resolution, cinematic film still from cyberpunk movie, volumetric fog, (RAW, analog, masterpiece, best quality, soft particles, 8k, flawless perfect face, intricate details, trending on artstation, trending on cgsociety, dlsr, ultra sharp, hdr, rtx, antialiasing, canon 5d foto)), ((skin details, high detailed skin texture)), (((perfect face))), (perfect eyes)))"
|
| 70 |
-
]
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
if prompt_text:
|
| 73 |
chosen_option = random.choice(options)
|
| 74 |
return text_gen(f"photo anime, {chosen_option}, {prompt_text} - {timestamp}")
|
|
|
|
| 57 |
return output
|
| 58 |
import random
|
| 59 |
|
| 60 |
+
import random
|
| 61 |
+
import time
|
| 62 |
+
|
| 63 |
+
# ... (existing code)
|
| 64 |
+
|
| 65 |
def get_prompts(prompt_text):
|
| 66 |
global request_counter
|
| 67 |
request_counter += 1
|
| 68 |
timestamp = f"{time.time()}_{request_counter}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
options = [
|
| 71 |
+
"Cyberpunk beautiful cute android",
|
| 72 |
+
"2060",
|
| 73 |
+
"newyork",
|
| 74 |
+
# Add other prompt options here...
|
| 75 |
+
]
|
| 76 |
+
|
| 77 |
if prompt_text:
|
| 78 |
chosen_option = random.choice(options)
|
| 79 |
return text_gen(f"photo anime, {chosen_option}, {prompt_text} - {timestamp}")
|