ai-forever commited on
Commit
5ca0b4d
1 Parent(s): 0e434ca
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -163,6 +163,7 @@ with gr.Blocks() as demo:
163
 
164
  def beautify_prompt(prompt: str, max_attempts: int = 5) -> str:
165
  prompt = giga_generate(prompt, max_attempts=max_attempts)
 
166
 
167
  def enhance_prompt_func(prompt):
168
  return beautify_prompt(prompt, max_attempts=5)
 
163
 
164
  def beautify_prompt(prompt: str, max_attempts: int = 5) -> str:
165
  prompt = giga_generate(prompt, max_attempts=max_attempts)
166
+ return prompt
167
 
168
  def enhance_prompt_func(prompt):
169
  return beautify_prompt(prompt, max_attempts=5)