From 4352ec83285f5e8c129d980a0679e558c24be4bf Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Fri, 21 Mar 2025 12:13:40 +0000 Subject: [PATCH] chat timeout 300 secs or 5 minutes --- streamlit_slop_with_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamlit_slop_with_models.py b/streamlit_slop_with_models.py index 88bb965..53a5d6f 100644 --- a/streamlit_slop_with_models.py +++ b/streamlit_slop_with_models.py @@ -76,7 +76,7 @@ def chat_interface(): "messages": [{"role": "user", "content": message}], "model": selected_model, }, - timeout=5, + timeout=300, ) response.raise_for_status() assistant_response = response.json()["choices"][0]["message"]["content"]