Spaces:
Running
Running
Demosthene-OR
commited on
Commit
•
c6bc587
1
Parent(s):
b0a605f
.....
Browse files
__pycache__/config.cpython-310.pyc
DELETED
Binary file (530 Bytes)
|
|
__pycache__/member.cpython-310.pyc
DELETED
Binary file (1.25 kB)
|
|
__pycache__/translate_app.cpython-310.pyc
DELETED
Binary file (818 Bytes)
|
|
tabs/__pycache__/chatbot_tab.cpython-310.pyc
CHANGED
Binary files a/tabs/__pycache__/chatbot_tab.cpython-310.pyc and b/tabs/__pycache__/chatbot_tab.cpython-310.pyc differ
|
|
tabs/chatbot_tab.py
CHANGED
@@ -238,11 +238,8 @@ def run():
|
|
238 |
audio_stream = sr.AudioData(audio_bytes, 32000, 2)
|
239 |
r = sr.Recognizer()
|
240 |
query = r.recognize_google(audio_stream, language = Lang_detected)
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
# Transcription Whisper (si result a été préalablement calculé)
|
246 |
st.write("**Vendeur :** "+query)
|
247 |
st.write("")
|
248 |
|
|
|
238 |
audio_stream = sr.AudioData(audio_bytes, 32000, 2)
|
239 |
r = sr.Recognizer()
|
240 |
query = r.recognize_google(audio_stream, language = Lang_detected)
|
241 |
+
|
242 |
+
# Transcription
|
|
|
|
|
|
|
243 |
st.write("**Vendeur :** "+query)
|
244 |
st.write("")
|
245 |
|