Spaces:
Sleeping
Sleeping
Lumiin0us commited on
Commit ·
11d5151
1
Parent(s): 4e38ce6
fix audio file path
Browse files- api/main.py +1 -1
api/main.py
CHANGED
|
@@ -49,7 +49,7 @@ async def uploadMeeting(file: UploadFile):
|
|
| 49 |
with open("/tmp/temp_audio", "wb") as buffer:
|
| 50 |
shutil.copyfileobj(file.file, buffer)
|
| 51 |
try:
|
| 52 |
-
transcript = transcribeAudio("temp_audio")
|
| 53 |
db = SessionLocal()
|
| 54 |
meeting = Meeting(
|
| 55 |
summary=transcript['summary'],
|
|
|
|
| 49 |
with open("/tmp/temp_audio", "wb") as buffer:
|
| 50 |
shutil.copyfileobj(file.file, buffer)
|
| 51 |
try:
|
| 52 |
+
transcript = transcribeAudio("/tmp/temp_audio")
|
| 53 |
db = SessionLocal()
|
| 54 |
meeting = Meeting(
|
| 55 |
summary=transcript['summary'],
|