markury commited on
Commit
0a6e0ec
·
2 Parent(s): b405196df5b5a5

Initial commit

Browse files
Files changed (3) hide show
  1. README.md +1 -0
  2. app.py +9 -9
  3. requirements.txt +1 -0
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: purple
5
  colorTo: yellow
6
  sdk: gradio
7
  sdk_version: "6.10.0"
 
8
  app_file: app.py
9
  pinned: true
10
  license: mit
 
5
  colorTo: yellow
6
  sdk: gradio
7
  sdk_version: "6.10.0"
8
+ python_version: '3.12'
9
  app_file: app.py
10
  pinned: true
11
  license: mit
app.py CHANGED
@@ -53,11 +53,6 @@ if ON_ZEROGPU:
53
  # --- UI ---
54
  with gr.Blocks(
55
  title="Midmid — Guitar Hero Chart Generator",
56
- theme=gr.themes.Base(primary_hue="purple", neutral_hue="gray"),
57
- css="""
58
- .gradio-container { max-width: 960px !important; }
59
- #generate-btn { min-height: 48px; font-size: 16px; }
60
- """,
61
  ) as demo:
62
  gr.Markdown(
63
  "# Midmid — AI Guitar Hero Chart Generator\n"
@@ -95,11 +90,16 @@ with gr.Blocks(
95
 
96
  gr.Markdown(
97
  "---\n"
98
- "*Charts generated by [Midmid](https://github.com/markury/midmid) — "
99
- "a 19M-parameter masked transformer trained on community Guitar Hero charts. "
100
- "Model: `markury/midmid3-19m-0326`*"
101
  )
102
 
103
 
104
  if __name__ == "__main__":
105
- demo.launch()
 
 
 
 
 
 
 
53
  # --- UI ---
54
  with gr.Blocks(
55
  title="Midmid — Guitar Hero Chart Generator",
 
 
 
 
 
56
  ) as demo:
57
  gr.Markdown(
58
  "# Midmid — AI Guitar Hero Chart Generator\n"
 
90
 
91
  gr.Markdown(
92
  "---\n"
93
+ "*Powered by [Midmid](https://huggingface.co/markury/midmid3-19m-0326) — "
94
+ "a 19M-parameter masked-prediction transformer by markury.*"
 
95
  )
96
 
97
 
98
  if __name__ == "__main__":
99
+ demo.launch(
100
+ theme=gr.themes.Base(primary_hue="purple", neutral_hue="gray"),
101
+ css="""
102
+ .gradio-container { max-width: 960px !important; }
103
+ #generate-btn { min-height: 48px; font-size: 16px; }
104
+ """,
105
+ )
requirements.txt CHANGED
@@ -1,6 +1,7 @@
1
  gradio>=5.0
2
  spaces
3
  safetensors
 
4
  transformers<5
5
  huggingface-hub
6
  mido
 
1
  gradio>=5.0
2
  spaces
3
  safetensors
4
+ torchaudio
5
  transformers<5
6
  huggingface-hub
7
  mido