fffiloni commited on
Commit
d224587
1 Parent(s): c62d4cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -61,7 +61,7 @@ def gradio_answer(speech, text_input, num_beams, temperature, top_p):
61
 
62
  title = """<h1 style="text-align: center;">SALMONN: Speech Audio Language Music Open Neural Network</h1>"""
63
  image_src = """<h1 align="center"><a href="https://github.com/bytedance/SALMONN"><img src="https://raw.githubusercontent.com/bytedance/SALMONN/main/resource/salmon.png", alt="SALMONN" border="0" style="margin: 0 auto; height: 200px;" /></a> </h1>"""
64
- description = """<h3 style="text-align: center;">This is the simplified demo for SALMONN-7B. To experience SALMONN-13B, you can go to <a href="https://bytedance.github.io/SALMONN">https://bytedance.github.io/SALMONN</a>.\n Upload your audio and ask a question!</h3>"""
65
 
66
  css = """
67
  div#col-container {
@@ -72,9 +72,9 @@ div#col-container {
72
 
73
  with gr.Blocks(css=css) as demo:
74
  with gr.Column(elem_id="col-container"):
75
- gr.Markdown(title)
76
  #gr.Markdown(image_src)
77
- gr.Markdown(description)
78
 
79
  with gr.Row():
80
  with gr.Column():
 
61
 
62
  title = """<h1 style="text-align: center;">SALMONN: Speech Audio Language Music Open Neural Network</h1>"""
63
  image_src = """<h1 align="center"><a href="https://github.com/bytedance/SALMONN"><img src="https://raw.githubusercontent.com/bytedance/SALMONN/main/resource/salmon.png", alt="SALMONN" border="0" style="margin: 0 auto; height: 200px;" /></a> </h1>"""
64
+ description = """<h3 style="text-align: center;">This is the simplified demo for SALMONN-7B. To experience SALMONN-13B, you can go to <a href="https://bytedance.github.io/SALMONN">https://bytedance.github.io/SALMONN</a>.<br /> Upload your audio and ask a question!</h3>"""
65
 
66
  css = """
67
  div#col-container {
 
72
 
73
  with gr.Blocks(css=css) as demo:
74
  with gr.Column(elem_id="col-container"):
75
+ gr.HTML(title)
76
  #gr.Markdown(image_src)
77
+ gr.HTML(description)
78
 
79
  with gr.Row():
80
  with gr.Column():