Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def record_text(audio_file,api_key):
|
|
18 |
# response_format="text"
|
19 |
# )
|
20 |
# return transcript
|
21 |
-
return(str(path.getsize(
|
22 |
|
23 |
|
24 |
def api_calling(audio_file, prompt, api_key):
|
|
|
18 |
# response_format="text"
|
19 |
# )
|
20 |
# return transcript
|
21 |
+
return(str(path.getsize(audio_file)/1000000)+'mb')
|
22 |
|
23 |
|
24 |
def api_calling(audio_file, prompt, api_key):
|