rame commited on
Commit
cc5b9c5
·
verified ·
1 Parent(s): d93d3d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -14,6 +14,10 @@ from pydub import AudioSegment
14
  import whisper # For speech-to-text
15
  import ollama # For AI text evaluation
16
 
 
 
 
 
17
  # Define the directories where your .wav, background music, and response files are located
18
  wav_directory = "./files"
19
  bg_directory = "./files/bg"
 
14
  import whisper # For speech-to-text
15
  import ollama # For AI text evaluation
16
 
17
+
18
+ # Start Ollama server in the background
19
+ os.system("ollama serve &")
20
+
21
  # Define the directories where your .wav, background music, and response files are located
22
  wav_directory = "./files"
23
  bg_directory = "./files/bg"