salomonsky commited on
Commit
0715349
1 Parent(s): bfb5fbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ def generate_variations(prompt, num_variants, use_enhanced):
147
  prompts = set()
148
  while len(prompts) < num_variants:
149
  if use_enhanced:
150
- enhanced_prompt = await improve_prompt(prompt)
151
  prompts.add(enhanced_prompt)
152
  else:
153
  prompts.add(prompt)
 
147
  prompts = set()
148
  while len(prompts) < num_variants:
149
  if use_enhanced:
150
+ enhanced_prompt = improve_prompt(prompt)
151
  prompts.add(enhanced_prompt)
152
  else:
153
  prompts.add(prompt)