Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI Tutor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Salma Mohammed Hamed
AI Tutor
Commits
b46f6918
Commit
b46f6918
authored
Sep 13, 2025
by
SalmaMohammedHamedMustafa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a typo in recoding
parent
1dd7e735
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
self_hosted_env/voice_agent/Dockerfile
+2
-2
openai_service.py
self_hosted_env/voice_agent/services/openai_service.py
+1
-1
No files found.
self_hosted_env/voice_agent/Dockerfile
View file @
b46f6918
...
@@ -8,7 +8,7 @@ RUN pip install --no-cache-dir -r requirements.txt
...
@@ -8,7 +8,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY
. .
COPY
. .
#just keep the container running without doing anything
#just keep the container running without doing anything
CMD
["sh", "-c", "while :; do sleep 10; done"]
#
CMD ["sh", "-c", "while :; do sleep 10; done"]
#run the app automatically when the container starts
#run the app automatically when the container starts
#
CMD ["python", "main.py"]
CMD
["python", "main.py"]
self_hosted_env/voice_agent/services/openai_service.py
View file @
b46f6918
...
@@ -37,7 +37,7 @@ class OpenAIService:
...
@@ -37,7 +37,7 @@ class OpenAIService:
print
(
f
"Transcribing audio: {filename}"
)
print
(
f
"Transcribing audio: {filename}"
)
transcript
=
self
.
client
.
audio
.
transcriptions
.
create
(
transcript
=
self
.
client
.
audio
.
transcriptions
.
create
(
model
=
Models
.
transcription
,
model
=
Models
.
transcription
.
value
,
file
=
audio_file
,
file
=
audio_file
,
language
=
language
if
language
else
None
language
=
language
if
language
else
None
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment