ai-forever commited on
Commit
cd88e38
·
verified ·
1 Parent(s): c369c40
Files changed (1) hide show
  1. app.py +1 -17
app.py CHANGED
@@ -147,7 +147,7 @@ with gr.Blocks() as demo:
147
  gr.Markdown("Prompt beautification 🪄 powered by [GigaChat-Max](https://giga.chat), LLM created by Sber")
148
  with gr.Column():
149
  # под текстом, справа
150
- enhance_button = gr.Button("Your prompt")
151
  # правая часть под видео - Aspect ratio
152
  with gr.Column():
153
  aspect_ratio = gr.Dropdown(
@@ -156,22 +156,6 @@ with gr.Blocks() as demo:
156
  value="16:9 (672x384)"
157
  )
158
  generate_btn = gr.Button("Generate Video")
159
-
160
-
161
-
162
-
163
- # with gr.Row():
164
- # # gr.Markdown(
165
- # # "✨Upon pressing the enhanced prompt button, we will use [GigaChat Model](https://github.com/THUDM/GLM-4) to polish the prompt and overwrite the original one."
166
- # # )
167
- # aspect_ratio = gr.Dropdown(
168
- # label="Aspect ratio",
169
- # choices=["16:9 (672x384)", "9:16 (384x672)", "1:1 (512x512)", "1:2 (352x736)", "2:1 (736x352)"],
170
- # value="16:9 (672x384)"
171
- # )
172
- # with gr.Column():
173
- # enhance_button = gr.Button("Beautify prompt with [GigaChat-Max](https://giga.chat)")
174
- # generate_btn = gr.Button("Generate Video")
175
 
176
  # with gr.Accordion("Advanced options", open=False):
177
  # seed = gr.Slider(label="Seed", value=42, randomize=True, minimum=0, maximum=max_64_bit_int, step=1)
 
147
  gr.Markdown("Prompt beautification 🪄 powered by [GigaChat-Max](https://giga.chat), LLM created by Sber")
148
  with gr.Column():
149
  # под текстом, справа
150
+ enhance_button = gr.Button("Beautify Your Prompt")
151
  # правая часть под видео - Aspect ratio
152
  with gr.Column():
153
  aspect_ratio = gr.Dropdown(
 
156
  value="16:9 (672x384)"
157
  )
158
  generate_btn = gr.Button("Generate Video")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
 
160
  # with gr.Accordion("Advanced options", open=False):
161
  # seed = gr.Slider(label="Seed", value=42, randomize=True, minimum=0, maximum=max_64_bit_int, step=1)