moevis commited on
Commit
6a55d47
·
verified ·
1 Parent(s): e8b5c5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,7 +15,7 @@ import gradio as gr
15
  import httpx
16
 
17
  API_BASE_URL = os.getenv("API_BASE_URL", "http://localhost:9999/v1")
18
- MODEL_NAME = os.getenv("MODEL_NAME", "Step-Audio-R1")
19
  SECRET = os.getenv("API_SECRET", "")
20
 
21
  # 音频大小限制 (10MB)
@@ -705,11 +705,11 @@ h3 {
705
  """
706
 
707
  # Gradio Interface
708
- with gr.Blocks(title="Step Audio R1", css=custom_css, theme=gr.themes.Soft()) as demo:
709
  # Header
710
  gr.HTML("""
711
  <div class="app-header">
712
- <h1 style="color: white;">🔊 Step-Audio-R1</h1>
713
  <p style="color: white; margin: 0.8rem 0 0 0; opacity: 0.95; font-size: 1.15rem; font-weight: 500;">
714
  Advanced Audio-Language Model with Reasoning
715
  </p>
 
15
  import httpx
16
 
17
  API_BASE_URL = os.getenv("API_BASE_URL", "http://localhost:9999/v1")
18
+ MODEL_NAME = os.getenv("MODEL_NAME", "Step-Audio-R1.1")
19
  SECRET = os.getenv("API_SECRET", "")
20
 
21
  # 音频大小限制 (10MB)
 
705
  """
706
 
707
  # Gradio Interface
708
+ with gr.Blocks(title="Step Audio R1.1", css=custom_css, theme=gr.themes.Soft()) as demo:
709
  # Header
710
  gr.HTML("""
711
  <div class="app-header">
712
+ <h1 style="color: white;">🔊 Step-Audio-R1.1</h1>
713
  <p style="color: white; margin: 0.8rem 0 0 0; opacity: 0.95; font-size: 1.15rem; font-weight: 500;">
714
  Advanced Audio-Language Model with Reasoning
715
  </p>