Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import docx
|
|
11 |
from groq import Groq
|
12 |
import PyPDF2
|
13 |
import requests
|
14 |
-
from
|
15 |
|
16 |
# Extract text from PDF with fallback
|
17 |
def extract_text_from_pdf(pdf_path):
|
@@ -190,4 +190,4 @@ if all([account_sid, auth_token, GROQ_API_KEY, conversation_sid]):
|
|
190 |
else:
|
191 |
st.caption("β
No new message yet. Waiting for refresh...")
|
192 |
else:
|
193 |
-
st.warning("β Please provide all required credentials and conversation SID.")
|
|
|
11 |
from groq import Groq
|
12 |
import PyPDF2
|
13 |
import requests
|
14 |
+
from streamlit_autorefresh import st_autorefresh
|
15 |
|
16 |
# Extract text from PDF with fallback
|
17 |
def extract_text_from_pdf(pdf_path):
|
|
|
190 |
else:
|
191 |
st.caption("β
No new message yet. Waiting for refresh...")
|
192 |
else:
|
193 |
+
st.warning("β Please provide all required credentials and conversation SID.")
|