linoyts HF Staff commited on
Commit
79d0df8
·
verified ·
1 Parent(s): dac377c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -74,7 +74,7 @@ def encode_text_simple(text_encoder, prompt: str):
74
  @spaces.GPU()
75
  def encode_prompt(
76
  prompt: str,
77
- enhance_prompt: bool = False,
78
  input_image = None,
79
  seed: int = 42
80
  ):
@@ -172,8 +172,8 @@ with gr.Blocks(title="LTX-2 Gemma Text Encoder") as demo:
172
  )
173
 
174
  enhance_checkbox = gr.Checkbox(
175
- label="Enhance Prompt with AI",
176
- value=False,
177
  info="Use Gemma to automatically enhance your prompt for better results"
178
  )
179
 
 
74
  @spaces.GPU()
75
  def encode_prompt(
76
  prompt: str,
77
+ enhance_prompt: bool = True,
78
  input_image = None,
79
  seed: int = 42
80
  ):
 
172
  )
173
 
174
  enhance_checkbox = gr.Checkbox(
175
+ label="Enhance Prompt",
176
+ value=True,
177
  info="Use Gemma to automatically enhance your prompt for better results"
178
  )
179