Nikita Makarov commited on
Commit
3229c47
·
1 Parent(s): e996d12

Update app configuration

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. src/app.py +1 -1
app.py CHANGED
@@ -11,5 +11,6 @@ from app import demo
11
 
12
  if __name__ == "__main__":
13
  # HF Spaces automatically handles server_name and server_port
14
- demo.launch()
 
15
 
 
11
 
12
  if __name__ == "__main__":
13
  # HF Spaces automatically handles server_name and server_port
14
+ # Use show_error=True for better debugging in HF Spaces
15
+ demo.launch(show_error=True, server_name="0.0.0.0", server_port=7860)
16
 
src/app.py CHANGED
@@ -1680,7 +1680,7 @@ with gr.Blocks(css=custom_css, title="AI Radio 🎵", theme=gr.themes.Soft(), he
1680
  sources=["microphone"],
1681
  format="wav"
1682
  )
1683
- voice_btn = gr.Button("🎤 Process Voice Request", variant="primary", size="lg", elem_classes="control-button")
1684
  voice_status = gr.Textbox(label="Voice Request Status", value="Record your voice request above, then click the button", interactive=False)
1685
 
1686
  # Like/Dislike buttons for current track
 
1680
  sources=["microphone"],
1681
  format="wav"
1682
  )
1683
+ voice_btn = gr.Button("🎤 Ask For Song", variant="primary", size="lg", elem_classes="control-button")
1684
  voice_status = gr.Textbox(label="Voice Request Status", value="Record your voice request above, then click the button", interactive=False)
1685
 
1686
  # Like/Dislike buttons for current track