add links
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
"""
|
| 2 |
|
| 3 |
import os
|
| 4 |
import gradio as gr
|
|
@@ -52,12 +52,12 @@ if ON_ZEROGPU:
|
|
| 52 |
|
| 53 |
# --- UI ---
|
| 54 |
with gr.Blocks(
|
| 55 |
-
title="
|
| 56 |
) as demo:
|
| 57 |
gr.Markdown(
|
| 58 |
-
"#
|
| 59 |
"Upload a song, get a playable chart with 4 difficulty levels. "
|
| 60 |
-
"Preview it here, then download the GHWT:DE
|
| 61 |
)
|
| 62 |
|
| 63 |
with gr.Row():
|
|
@@ -72,7 +72,7 @@ with gr.Blocks(
|
|
| 72 |
|
| 73 |
with gr.Row():
|
| 74 |
album_input = gr.Textbox(label="Album", placeholder="(optional)")
|
| 75 |
-
year_input = gr.Textbox(label="Year", placeholder="
|
| 76 |
|
| 77 |
genre_input = gr.Textbox(label="Genre", placeholder="rock", value="rock")
|
| 78 |
|
|
@@ -90,8 +90,15 @@ with gr.Blocks(
|
|
| 90 |
|
| 91 |
gr.Markdown(
|
| 92 |
"---\n"
|
| 93 |
-
"*Powered by [
|
| 94 |
-
"a 19M-parameter masked-prediction transformer by
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
)
|
| 96 |
|
| 97 |
|
|
|
|
| 1 |
+
"""midmid3: Guitar Hero Chart Generator Demo"""
|
| 2 |
|
| 3 |
import os
|
| 4 |
import gradio as gr
|
|
|
|
| 52 |
|
| 53 |
# --- UI ---
|
| 54 |
with gr.Blocks(
|
| 55 |
+
title="midmid3: Guitar Hero Chart Generator",
|
| 56 |
) as demo:
|
| 57 |
gr.Markdown(
|
| 58 |
+
"# midmid3: Guitar Hero Chart Generator\n"
|
| 59 |
"Upload a song, get a playable chart with 4 difficulty levels. "
|
| 60 |
+
"Preview it here, then download the mod folder ready for GHWT:DE."
|
| 61 |
)
|
| 62 |
|
| 63 |
with gr.Row():
|
|
|
|
| 72 |
|
| 73 |
with gr.Row():
|
| 74 |
album_input = gr.Textbox(label="Album", placeholder="(optional)")
|
| 75 |
+
year_input = gr.Textbox(label="Year", placeholder="2026")
|
| 76 |
|
| 77 |
genre_input = gr.Textbox(label="Genre", placeholder="rock", value="rock")
|
| 78 |
|
|
|
|
| 90 |
|
| 91 |
gr.Markdown(
|
| 92 |
"---\n"
|
| 93 |
+
"*Powered by [midmid3](https://huggingface.co/markury/midmid3-19m-0326) — "
|
| 94 |
+
"a 19M-parameter masked-prediction transformer by Markury.*"
|
| 95 |
+
)
|
| 96 |
+
gr.HTML(
|
| 97 |
+
'<div style="display:flex; justify-content:center; gap:8px; padding:8px 0;">'
|
| 98 |
+
'<a href="https://github.com/markuryy/midmid"><img src="https://img.shields.io/badge/GitHub-midmid-181717?logo=github&logoColor=white" alt="GitHub"></a>'
|
| 99 |
+
'<a href="https://huggingface.co/markury/midmid3-19m-0326"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Model-midmid3--19m--0326-yellow" alt="Model"></a>'
|
| 100 |
+
'<a href="https://huggingface.co/spaces/markury/midmid3"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Demo-midmid3-blue" alt="Demo"></a>'
|
| 101 |
+
'</div>'
|
| 102 |
)
|
| 103 |
|
| 104 |
|