semakoc commited on
Commit
b390a9a
·
verified ·
1 Parent(s): 9cffc38

uodated languge

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,7 +63,7 @@ def store_correction(original_transcription, corrected_transcription, audio_file
63
 
64
  # Generate a unique identifier for the audio file
65
  unique_id = str(uuid.uuid4())
66
- destination_path = f"audio/paiwan/{unique_id}.wav"
67
 
68
  # Create a blob and upload the file
69
  blob = bucket.blob(destination_path)
@@ -76,7 +76,7 @@ def store_correction(original_transcription, corrected_transcription, audio_file
76
  'transcription_info': {
77
  'original_text': original_transcription,
78
  'corrected_text': corrected_transcription,
79
- 'language': "paiwan",
80
  },
81
  'audio_data': {
82
  'audio_metadata': audio_metadata,
 
63
 
64
  # Generate a unique identifier for the audio file
65
  unique_id = str(uuid.uuid4())
66
+ destination_path = f"audio/pai/{unique_id}.wav"
67
 
68
  # Create a blob and upload the file
69
  blob = bucket.blob(destination_path)
 
76
  'transcription_info': {
77
  'original_text': original_transcription,
78
  'corrected_text': corrected_transcription,
79
+ 'language': 'pai',
80
  },
81
  'audio_data': {
82
  'audio_metadata': audio_metadata,