Peter Michael Gits Claude commited on
Commit
808ab30
·
1 Parent(s): 8144cbf

feat: Force fresh deployment with clear STT vs TTS identification

Browse files

- Add clear print statements identifying this as STT (Speech-to-Text)
- Add app_port configuration to README.md for HuggingFace Spaces
- Version bump to 0.3.4
- Force HuggingFace to deploy fresh code instead of cached TTS version

The logs showed TTS service instead of our STT server, this should fix it.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (3) hide show
  1. Cargo.toml +1 -1
  2. README.md +1 -0
  3. app.py +5 -1
Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
  [package]
2
  name = "kyutai-stt-server"
3
- version = "0.3.3"
4
  edition = "2021"
5
 
6
  [dependencies]
 
1
  [package]
2
  name = "kyutai-stt-server"
3
+ version = "0.3.4"
4
  edition = "2021"
5
 
6
  [dependencies]
README.md CHANGED
@@ -7,6 +7,7 @@ sdk: docker
7
  pinned: false
8
  license: apache-2.0
9
  hardware: t4-small
 
10
  ---
11
 
12
  # Kyutai STT GPU Service v3
 
7
  pinned: false
8
  license: apache-2.0
9
  hardware: t4-small
10
+ app_port: 7860
11
  ---
12
 
13
  # Kyutai STT GPU Service v3
app.py CHANGED
@@ -1,9 +1,13 @@
1
  #!/usr/bin/env python3
2
  """
3
- HuggingFace Spaces compatibility layer for Kyutai STT Rust Server
4
  Provides a simple web interface and proxies to the Rust WebSocket server
 
5
  """
6
 
 
 
 
7
  import asyncio
8
  import json
9
  import subprocess
 
1
  #!/usr/bin/env python3
2
  """
3
+ HuggingFace Spaces compatibility layer for Kyutai STT Rust Server v0.3.3
4
  Provides a simple web interface and proxies to the Rust WebSocket server
5
+ This is SPEECH-TO-TEXT (STT) not Text-to-Speech (TTS)
6
  """
7
 
8
+ print("🎤 STARTING KYUTAI STT (SPEECH-TO-TEXT) SERVER v0.3.3")
9
+ print("📝 This is STT (Speech-to-Text), NOT TTS (Text-to-Speech)")
10
+
11
  import asyncio
12
  import json
13
  import subprocess