Ashrafb commited on
Commit
f23e47e
1 Parent(s): 205a48e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
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
- return text_gen(f"{prompt_text}, {chosen_option}")
 
 
 
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