Update main.py
Browse files
main.py
CHANGED
|
@@ -109,7 +109,10 @@ def get_prompts(prompt_text):
|
|
| 109 |
# Generate timestamp for different prompts
|
| 110 |
timestamp = f"{time.time()}"
|
| 111 |
chosen_option = random.choice(options)
|
| 112 |
-
|
|
|
|
|
|
|
|
|
|
| 113 |
else:
|
| 114 |
return text_gen("")
|
| 115 |
|
|
|
|
| 109 |
# Generate timestamp for different prompts
|
| 110 |
timestamp = f"{time.time()}"
|
| 111 |
chosen_option = random.choice(options)
|
| 112 |
+
# Combine prompt text with chosen option
|
| 113 |
+
prompt_with_option = f"{prompt_text}, {chosen_option}"
|
| 114 |
+
# Use prompt text with option for generating prompts
|
| 115 |
+
return text_gen(prompt_with_option)
|
| 116 |
else:
|
| 117 |
return text_gen("")
|
| 118 |
|