Created
September 17, 2022 09:54
-
-
Save asilbalaban/99a5c1e5122f5cac24f7f1198e780437 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import keyboard | |
import time | |
import random | |
prompt = str(input('Bir kavram girin: ')) | |
if prompt == '': | |
prompt = "reglan arm cycling jersey design in bright green, yellow, blue, red, grey, white, black, purple, vivid colors, sharp, realistic, ultra detailed, 8k" | |
prompt = "cycling jersey design in pastel colors, sharp, realistic, ultra detailed, 8k" | |
prompt = "cycling jersey design in cosmic colors, sharp, realistic, ultra detailed, 8k" | |
prompt = "cycling jersey design in light colors, sharp, realistic, ultra detailed, 8k" | |
prompt = "cycling jersey design in hot colors, sharp, realistic, ultra detailed, 8k" | |
prompt = "cycling jersey design with map texture, sharp, realistic, ultra detailed, 8k" | |
prompt = "cycling jersey design with animal skin texture, sharp, realistic, ultra detailed, 8k" | |
prompt = "cycling jersey design, android, sharp, realistic, ultra detailed, 8k" | |
time.sleep(3) | |
def slash(): | |
time.sleep(1) | |
keyboard.press('shift') | |
keyboard.press('7') | |
keyboard.release('7') | |
keyboard.release('shift') | |
time.sleep(1) | |
def dot(): | |
time.sleep(1) | |
keyboard.press('shift') | |
keyboard.press('.') | |
keyboard.release('.') | |
keyboard.release('shift') | |
time.sleep(1) | |
def debug(): | |
while True: | |
if keyboard.read_key(): | |
print(keyboard.read_key()) | |
while True: | |
time.sleep(2) | |
slash() | |
keyboard.write('imagine prompt') | |
dot() | |
keyboard.write(" " + prompt) | |
time.sleep(1) | |
keyboard.press_and_release("enter") | |
sleep = random.randint(50, 80) | |
print('/imagine prompt: ' + str(prompt) + ' gönderildi. ' + str(sleep) + ' saniye uyunacak.') | |
time.sleep(sleep) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment