Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def render_line_details(line_id):
|
|
41 |
# path = os.path.join("temp_audios", f"{uuid4()}.mp3")
|
42 |
# with open(path, "wb") as f:
|
43 |
# f.write(audio_response.content)
|
44 |
-
return audio_response, source_transcript, translation
|
45 |
|
46 |
def dump_data_db(line_id, video_type, video_subject, video_topics, video_tone, gender, demography, total_time, source_language, target_language, comments, accent, source_transcript, translation):
|
47 |
line_detail = line_details[line_id]
|
|
|
41 |
# path = os.path.join("temp_audios", f"{uuid4()}.mp3")
|
42 |
# with open(path, "wb") as f:
|
43 |
# f.write(audio_response.content)
|
44 |
+
return audio_response.content, source_transcript, translation
|
45 |
|
46 |
def dump_data_db(line_id, video_type, video_subject, video_topics, video_tone, gender, demography, total_time, source_language, target_language, comments, accent, source_transcript, translation):
|
47 |
line_detail = line_details[line_id]
|