Spaces:
Sleeping
Sleeping
v1x
Browse files- app.py +0 -16
- requirements.txt +1 -1
app.py
CHANGED
@@ -1,16 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from QuickAgent import LanguageModelProcessor, TextToSpeech
|
3 |
-
|
4 |
-
st.title('AI Language Teacher')
|
5 |
-
|
6 |
-
groq_api_key = st.text_input('Enter your GROQ_API_KEY')
|
7 |
-
deepgram_api_key = st.text_input('Enter your DEEPGRAM_API_KEY')
|
8 |
-
|
9 |
-
if st.button('Start'):
|
10 |
-
if groq_api_key and deepgram_api_key:
|
11 |
-
processor = LanguageModelProcessor(groq_api_key=groq_api_key)
|
12 |
-
tts = TextToSpeech(deepgram_api_key=deepgram_api_key)
|
13 |
-
# Aqu铆 ir铆a la l贸gica para procesar o iniciar el procesamiento de la conversaci贸n
|
14 |
-
st.write("Processing started")
|
15 |
-
else:
|
16 |
-
st.write("Please enter both API keys")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
@@ -86,4 +86,4 @@ websockets==12.0
|
|
86 |
yarl==1.9.4
|
87 |
zope.event==5.0
|
88 |
zope.interface==6.2
|
89 |
-
streamlit
|
|
|
86 |
yarl==1.9.4
|
87 |
zope.event==5.0
|
88 |
zope.interface==6.2
|
89 |
+
streamlit==1.10.0
|