Skip to content

Commit

Permalink
Fixes and script upgrades
Browse files Browse the repository at this point in the history
Signed-off-by: Rishi Banerjee <[email protected]>
  • Loading branch information
rshrc committed Sep 10, 2023
1 parent cd22a6b commit 4fd4a0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
from mem_test import measure_memory_usage

nltk.download('averaged_perceptron_tagger')
nltk.download('punkt')



def timing(f):
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pydub
python-dotenv
fuzzywuzzy
python-Levenshtein
nltk
nltk
psutil
10 changes: 5 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash
sudo sed -i '1i\deb http://mirror.mythic-beasts.com/raspbian/raspbian buster main contrib non-free rpi' /etc/apt/sources.list
# sudo sed -i '1i\deb http://mirror.mythic-beasts.com/raspbian/raspbian buster main contrib non-free rpi' /etc/apt/sources.list

# Comment out other lines if not already commented
sudo sed -i -e '2,$s/^deb/#deb/' /etc/apt/sources.list
# sudo sed -i -e '2,$s/^deb/#deb/' /etc/apt/sources.list

# Update package lists and upgrade installed packages
sudo apt-get update
sudo apt-get upgrade -y
# sudo apt-get update
# sudo apt-get upgrade -y
sudo apt install git
# Install required packages
sudo apt-get install -y python3-pyaudio flac libsdl-ttf2.0-0 python3-sdl2 libsdl2-mixer-2.0-0
sudo apt-get install -y python3-pyaudio flac libsdl-ttf2.0-0 python3-sdl2 libsdl2-mixer-2.0-0 ffmpeg
sudo apt-get install python3-pygame

# Install Python Installer
Expand Down

0 comments on commit 4fd4a0d

Please sign in to comment.