Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def transcribe_audio(audio_path):
|
|
16 |
# Upload the audio file
|
17 |
#uploaded_file = client.files.upload(file=audio_path)
|
18 |
print("Audio Path is",audio_path)
|
19 |
-
myfile = client.files.upload(file=
|
20 |
# Send the file to Gemini for transcription
|
21 |
response = client.models.generate_content(
|
22 |
model='gemini-2.0-flash',
|
|
|
16 |
# Upload the audio file
|
17 |
#uploaded_file = client.files.upload(file=audio_path)
|
18 |
print("Audio Path is",audio_path)
|
19 |
+
myfile = client.files.upload(file=audio_path)
|
20 |
# Send the file to Gemini for transcription
|
21 |
response = client.models.generate_content(
|
22 |
model='gemini-2.0-flash',
|