Skip to content

Commit 01057bf

Browse files
committed
fix: update server version to 1.3.6, add vllm to dependency hints, add repetition_penalty to streaming
- server.py: update version display, add vllm to install instructions - _server_app.py: update version, fix dependency message - serve_realtime_ws.py: add repetition_penalty=1.3 (verified fixes streaming repetition)
1 parent 91905fd commit 01057bf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

funasr/bin/_server_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from fastapi.responses import JSONResponse
2121
except ImportError:
2222
raise ImportError(
23-
"funasr-server requires fastapi. Install with: pip install fastapi uvicorn python-multipart"
23+
"funasr-server requires additional packages. Install with: pip install vllm fastapi uvicorn python-multipart"
2424
)
2525

2626
logger = logging.getLogger("funasr.server")

funasr/bin/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def main():
3939
import fastapi
4040
except ImportError:
4141
print("Error: funasr-server requires additional packages.")
42-
print("Install with: pip install fastapi uvicorn python-multipart")
42+
print("Install with: pip install vllm fastapi uvicorn python-multipart")
4343
sys.exit(1)
4444

4545
# Import and configure the app
@@ -52,7 +52,7 @@ def main():
5252
app = create_app(device=args.device, preload_model=args.model)
5353

5454
print(f"╔══════════════════════════════════════════════╗")
55-
print(f"║ FunASR Server v1.3.2 ║")
55+
print(f"║ FunASR Server v1.3.6 ║")
5656
print(f"║ Device: {args.device:<8} ║")
5757
print(f"║ Model: {args.model:<12} ║")
5858
print(f"║ URL: http://{args.host}:{args.port}/v1 ║")

0 commit comments

Comments
 (0)