ghfdgh5645 commited on
Commit
0de7c21
·
1 Parent(s): f21ddb8
Files changed (2) hide show
  1. app.py +8 -14
  2. requirements.txt +3 -0
app.py CHANGED
@@ -22,13 +22,6 @@ from typing import Callable, Any, List, Dict
22
 
23
 
24
 
25
- # App configuration
26
- st.set_page_config(
27
- page_title="Tourist Spot Search & Assistant",
28
- page_icon="🏝️",
29
- layout="wide",
30
- initial_sidebar_state="expanded"
31
- )
32
 
33
 
34
  # Set up logging
@@ -39,6 +32,13 @@ logger = logging.getLogger("GroqAPIManager")
39
  # Load environment variables
40
  load_dotenv()
41
 
 
 
 
 
 
 
 
42
  class GroqKeyManager:
43
  def __init__(self):
44
  """Initialize with multiple API keys from environment variables"""
@@ -141,13 +141,7 @@ load_dotenv()
141
  API_KEY = os.getenv("GROQ_API_KEY")
142
  client = Groq(api_key=API_KEY)
143
 
144
- # App configuration
145
- st.set_page_config(
146
- page_title="Tourist Spot Search & Assistant",
147
- page_icon="🏝️",
148
- layout="wide",
149
- initial_sidebar_state="expanded"
150
- )
151
 
152
  # Custom CSS for better styling
153
  st.markdown("""
 
22
 
23
 
24
 
 
 
 
 
 
 
 
25
 
26
 
27
  # Set up logging
 
32
  # Load environment variables
33
  load_dotenv()
34
 
35
+ # App configuration
36
+ st.set_page_config(
37
+ page_title="Tourist Spot Search & Assistant",
38
+ page_icon="🏝️",
39
+ layout="wide",
40
+ initial_sidebar_state="expanded"
41
+ )
42
  class GroqKeyManager:
43
  def __init__(self):
44
  """Initialize with multiple API keys from environment variables"""
 
141
  API_KEY = os.getenv("GROQ_API_KEY")
142
  client = Groq(api_key=API_KEY)
143
 
144
+
 
 
 
 
 
 
145
 
146
  # Custom CSS for better styling
147
  st.markdown("""
requirements.txt CHANGED
@@ -6,3 +6,6 @@ folium
6
  streamlit-folium
7
  pandas
8
  matplotlib
 
 
 
 
6
  streamlit-folium
7
  pandas
8
  matplotlib
9
+ polyline
10
+ geopy
11
+