Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import time
|
|
| 7 |
import base64
|
| 8 |
import tempfile
|
| 9 |
from google.cloud import texttospeech
|
| 10 |
-
from google.cloud import speech
|
| 11 |
from streamlit_webrtc import webrtc_streamer, WebRtcMode, AudioProcessorBase
|
| 12 |
|
| 13 |
# Configuraci贸n de la clave API
|
|
@@ -233,4 +233,4 @@ if st.button("Enviar"):
|
|
| 233 |
|
| 234 |
# Gesti贸n de pedidos
|
| 235 |
st.subheader("馃搵 Gesti贸n de Pedidos")
|
| 236 |
-
menu_csv_path = "
|
|
|
|
| 7 |
import base64
|
| 8 |
import tempfile
|
| 9 |
from google.cloud import texttospeech
|
| 10 |
+
from google.cloud import speech_v1 as speech
|
| 11 |
from streamlit_webrtc import webrtc_streamer, WebRtcMode, AudioProcessorBase
|
| 12 |
|
| 13 |
# Configuraci贸n de la clave API
|
|
|
|
| 233 |
|
| 234 |
# Gesti贸n de pedidos
|
| 235 |
st.subheader("馃搵 Gesti贸n de Pedidos")
|
| 236 |
+
menu_csv_path = "menu.csv" # Ruta al archivo
|