Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -164,6 +164,16 @@ def ui_full(launch_kwargs):
|
|
| 164 |
topp = gr.Number(label="Top-p", value=0, interactive=True)
|
| 165 |
temperature = gr.Number(label="Temperature", value=1.0, interactive=True)
|
| 166 |
cfg_coef = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
with gr.Column():
|
| 168 |
output = gr.Video(label="MP3 файл генерации")
|
| 169 |
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|
|
|
|
| 164 |
topp = gr.Number(label="Top-p", value=0, interactive=True)
|
| 165 |
temperature = gr.Number(label="Temperature", value=1.0, interactive=True)
|
| 166 |
cfg_coef = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
|
| 167 |
+
with gr.Row():
|
| 168 |
+
gr.HTML("""
|
| 169 |
+
<noindex>
|
| 170 |
+
<a style="color: #FFFFFF; text-decoration: none;" content="noindex, nofollow" href="https://ai-video.gfto.ru/" target="_blank">
|
| 171 |
+
<button style="background: linear-gradient(to right, #6957E7, #BF4D9F);">
|
| 172 |
+
AI Видео | Скачать
|
| 173 |
+
</button>
|
| 174 |
+
</a>
|
| 175 |
+
</noindex>
|
| 176 |
+
""")
|
| 177 |
with gr.Column():
|
| 178 |
output = gr.Video(label="MP3 файл генерации")
|
| 179 |
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|