admin commited on
Commit
871e360
Β·
1 Parent(s): 38c2ecf
Files changed (1) hide show
  1. app.py +16 -11
app.py CHANGED
@@ -209,7 +209,11 @@ if __name__ == "__main__":
209
  )
210
  with gr.Tab(_L("By template")):
211
  gr.Image(
212
- "https://www.modelscope.cn/studio/monetjoe/EMelodyGen/resolve/master/src/4q.jpg",
 
 
 
 
213
  show_label=False,
214
  show_download_button=False,
215
  show_fullscreen_button=False,
@@ -297,17 +301,18 @@ if __name__ == "__main__":
297
  fdb_btn = gr.Button(_L("Submit"))
298
 
299
  gr.Markdown(
300
- f"""## {_L("Cite")}
 
301
  ```bibtex
302
- @inproceedings{{Zhou2025EMelodyGen,
303
- title = {{EMelodyGen: Emotion-Conditioned Melody Generation in ABC Notation with the Musical Feature Template}},
304
- author = {{Monan Zhou and Xiaobing Li and Feng Yu and Wei Li}},
305
- month = {{Mar}},
306
- year = {{2025}},
307
- publisher = {{GitHub}},
308
- version = {{0.1}},
309
- url = {{https://github.com/monetjoe/EMelodyGen}}
310
- }}
311
  ```"""
312
  )
313
 
 
209
  )
210
  with gr.Tab(_L("By template")):
211
  gr.Image(
212
+ (
213
+ "https://www.modelscope.cn/studio/monetjoe/EMelodyGen/resolve/master/src/4q.jpg"
214
+ if EN_US
215
+ else "./src/4q.jpg"
216
+ ),
217
  show_label=False,
218
  show_download_button=False,
219
  show_fullscreen_button=False,
 
301
  fdb_btn = gr.Button(_L("Submit"))
302
 
303
  gr.Markdown(
304
+ f"## {_L('Cite')}"
305
+ + """
306
  ```bibtex
307
+ @misc{zhou2025emelodygenemotionconditionedmelodygeneration,
308
+ title = {EMelodyGen: Emotion-Conditioned Melody Generation in ABC Notation with the Musical Feature Template},
309
+ author = {Monan Zhou and Xiaobing Li and Feng Yu and Wei Li},
310
+ year = {2025},
311
+ eprint = {2309.13259},
312
+ archiveprefix = {arXiv},
313
+ primaryclass = {cs.IR},
314
+ url = {https://arxiv.org/abs/2309.13259}
315
+ }
316
  ```"""
317
  )
318