Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update use own twilio credentials
Browse files- app_openai_voice.py +2 -0
- requirements.txt +1 -1
app_openai_voice.py
CHANGED
@@ -15,6 +15,8 @@ demo = get_app(
|
|
15 |
default_model="gpt-4o-mini-realtime-preview-2024-12-17",
|
16 |
src=openai_gradio.registry,
|
17 |
accept_token=not os.getenv("OPENAI_API_KEY"),
|
|
|
|
|
18 |
)
|
19 |
|
20 |
if __name__ == "__main__":
|
|
|
15 |
default_model="gpt-4o-mini-realtime-preview-2024-12-17",
|
16 |
src=openai_gradio.registry,
|
17 |
accept_token=not os.getenv("OPENAI_API_KEY"),
|
18 |
+
twilio_sid=os.getenv("TWILIO_SID_OPENAI"),
|
19 |
+
twilio_token=os.getenv("TWILIO_AUTH_OPENAI"),
|
20 |
)
|
21 |
|
22 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
@@ -300,7 +300,7 @@ openai==1.58.1
|
|
300 |
# sambanova-gradio
|
301 |
# together-gradio
|
302 |
# xai-gradio
|
303 |
-
openai-gradio @ git+https://github.com/gradio-app/openai-gradio.git@
|
304 |
# via anychat (pyproject.toml)
|
305 |
orjson==3.10.11
|
306 |
# via gradio
|
|
|
300 |
# sambanova-gradio
|
301 |
# together-gradio
|
302 |
# xai-gradio
|
303 |
+
openai-gradio @ git+https://github.com/gradio-app/openai-gradio.git@1fee0dc68b575037d648d26fe8e23f47b0506e8a
|
304 |
# via anychat (pyproject.toml)
|
305 |
orjson==3.10.11
|
306 |
# via gradio
|