Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ device_map = {
|
|
38 |
"vae": torch.device('cuda'),
|
39 |
"text_embedder": torch.device('cuda')
|
40 |
}
|
41 |
-
pipe = get_T2V_pipeline(device_map)
|
42 |
|
43 |
max_64_bit_int = 2**63 - 1
|
44 |
|
@@ -159,7 +159,7 @@ with gr.Blocks() as demo:
|
|
159 |
)
|
160 |
aspect_ratio = aspect_ratio_variants[aspect_ratio]
|
161 |
with gr.Column():
|
162 |
-
enhance_button = gr.Button("Beautify prompt with GigaChat-Max")
|
163 |
generate_btn = gr.Button("Generate Video")
|
164 |
|
165 |
# with gr.Accordion("Advanced options", open=False):
|
|
|
38 |
"vae": torch.device('cuda'),
|
39 |
"text_embedder": torch.device('cuda')
|
40 |
}
|
41 |
+
# pipe = get_T2V_pipeline(device_map)
|
42 |
|
43 |
max_64_bit_int = 2**63 - 1
|
44 |
|
|
|
159 |
)
|
160 |
aspect_ratio = aspect_ratio_variants[aspect_ratio]
|
161 |
with gr.Column():
|
162 |
+
enhance_button = gr.Button("Beautify prompt with [GigaChat-Max](https://giga.chat)")
|
163 |
generate_btn = gr.Button("Generate Video")
|
164 |
|
165 |
# with gr.Accordion("Advanced options", open=False):
|