Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import gradio as gr
|
|
| 5 |
from gtts import gTTS
|
| 6 |
import speech_recognition as sr
|
| 7 |
|
| 8 |
-
client = Groq(api_key=os.getenv("
|
| 9 |
|
| 10 |
# Speech-to-text function
|
| 11 |
def speech_to_text(audio_file):
|
|
|
|
| 5 |
from gtts import gTTS
|
| 6 |
import speech_recognition as sr
|
| 7 |
|
| 8 |
+
client = Groq(api_key=os.getenv("groqkey"))
|
| 9 |
|
| 10 |
# Speech-to-text function
|
| 11 |
def speech_to_text(audio_file):
|