ayousanz commited on
Commit
1b3d1f6
·
verified ·
1 Parent(s): 4956922

Update from GitHub Actions - 2025-08-21 17:10:53

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. app.py +2 -0
  3. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🎙️
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 5.0.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
@@ -67,4 +67,4 @@ python app.py
67
  This project is licensed under the MIT License. See the original [Piper repository](https://github.com/rhasspy/piper) for more details.
68
 
69
  ---
70
- _Last updated: 2025-01-21 - Upgraded to Gradio 5.0.0 for security fixes_
 
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.44.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
67
  This project is licensed under the MIT License. See the original [Piper repository](https://github.com/rhasspy/piper) for more details.
68
 
69
  ---
70
+ _Last updated: 2025-01-21 - Using Gradio 4.44.1 for stable deployment_
app.py CHANGED
@@ -329,6 +329,7 @@ def create_interface():
329
  speaker_id = gr.Number(
330
  label="Speaker ID (for multi-speaker models)",
331
  value=0,
 
332
  minimum=0,
333
  maximum=10,
334
  )
@@ -452,4 +453,5 @@ if __name__ == "__main__":
452
  server_name="0.0.0.0",
453
  server_port=7860,
454
  show_api=False, # Disable API documentation for cleaner UI
 
455
  )
 
329
  speaker_id = gr.Number(
330
  label="Speaker ID (for multi-speaker models)",
331
  value=0,
332
+ precision=0,
333
  minimum=0,
334
  maximum=10,
335
  )
 
453
  server_name="0.0.0.0",
454
  server_port=7860,
455
  show_api=False, # Disable API documentation for cleaner UI
456
+ show_error=True,
457
  )
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  # Piper TTS Demo Requirements
2
- gradio>=5.0.0 # Latest Gradio 5.x with security fixes
3
  numpy>=1.24.0,<3.0
4
  onnxruntime>=1.16.0
5
  pyopenjtalk>=0.3.0
 
1
  # Piper TTS Demo Requirements
2
+ gradio==4.44.1 # Latest stable Gradio 4.x to avoid CSS/HTTP2 issues
3
  numpy>=1.24.0,<3.0
4
  onnxruntime>=1.16.0
5
  pyopenjtalk>=0.3.0