Spaces:
Running
on
Zero
Running
on
Zero
ai-forever
commited on
Commit
•
178254b
1
Parent(s):
f6ff9e4
Update app.py
Browse files
app.py
CHANGED
@@ -141,16 +141,15 @@ with gr.Blocks() as demo:
|
|
141 |
with gr.Row():
|
142 |
#TODO давать ссылку на гигачат?
|
143 |
#TODO заменить текст)
|
144 |
-
gr.Markdown(
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
146 |
)
|
147 |
-
enhance_button = gr.Button("
|
148 |
-
|
149 |
-
resolution = gr.Dropdown(
|
150 |
-
label="Video resolution",
|
151 |
-
choices=["1:1", "9:16", "16:9", "1:2", "2:1"],
|
152 |
-
value="16:9"
|
153 |
-
)
|
154 |
|
155 |
generate_btn = gr.Button("Generate")
|
156 |
|
|
|
141 |
with gr.Row():
|
142 |
#TODO давать ссылку на гигачат?
|
143 |
#TODO заменить текст)
|
144 |
+
# gr.Markdown(
|
145 |
+
# "✨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."
|
146 |
+
# )
|
147 |
+
resolution = gr.Dropdown(
|
148 |
+
label="Aspect ratio",
|
149 |
+
choices=["1:1", "9:16", "16:9", "1:2", "2:1"],
|
150 |
+
value="16:9"
|
151 |
)
|
152 |
+
enhance_button = gr.Button("Beautify prompt with GigaChat-Max")
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
|
154 |
generate_btn = gr.Button("Generate")
|
155 |
|