Diffusers
File size: 1,123 Bytes
97ff05d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
#
# MuseTalk Server - Stop All Services
#

echo ""
echo "╔══════════════════════════════════════════════════════════════╗"
echo "β•‘          MUSETALK SERVER - STOPPING ALL SERVICES             β•‘"
echo "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•"
echo ""

# Stop MuseTalk
if pgrep -f "main_fast" > /dev/null; then
    pkill -f "main_fast"
    echo "βœ“ MuseTalk stopped"
else
    echo "  MuseTalk was not running"
fi

# Stop Distil-Whisper
if pgrep -f "whisper_distil_server" > /dev/null; then
    pkill -f "whisper_distil_server"
    echo "βœ“ Distil-Whisper stopped"
else
    echo "  Distil-Whisper was not running"
fi

# Stop vLLM
if pgrep -f "vllm.entrypoints" > /dev/null; then
    pkill -f "vllm.entrypoints"
    echo "βœ“ vLLM stopped"
else
    echo "  vLLM was not running"
fi

echo ""
echo "All services stopped."
echo ""