Upload app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,8 @@ from langgraph.checkpoint.memory import MemorySaver
|
|
16 |
from langgraph.prebuilt import create_react_agent
|
17 |
from langchain_community.tools.tavily_search import TavilySearchResults
|
18 |
|
|
|
|
|
19 |
# Load environment variables (if any)
|
20 |
load_dotenv()
|
21 |
|
@@ -140,8 +142,6 @@ def text_to_speech(text, lang='ur'):
|
|
140 |
return response_audio_io
|
141 |
|
142 |
|
143 |
-
st.set_page_config(page_title="Urdu Virtual Assistant", page_icon="🤖") # set the page title and icon
|
144 |
-
|
145 |
col1, col2 = st.columns([1, 5]) # Adjust the ratio to control the logo and title sizes
|
146 |
|
147 |
# Display the logo in the first column
|
|
|
16 |
from langgraph.prebuilt import create_react_agent
|
17 |
from langchain_community.tools.tavily_search import TavilySearchResults
|
18 |
|
19 |
+
st.set_page_config(page_title="Urdu Virtual Assistant", page_icon="🤖") # set the page title and icon
|
20 |
+
|
21 |
# Load environment variables (if any)
|
22 |
load_dotenv()
|
23 |
|
|
|
142 |
return response_audio_io
|
143 |
|
144 |
|
|
|
|
|
145 |
col1, col2 = st.columns([1, 5]) # Adjust the ratio to control the logo and title sizes
|
146 |
|
147 |
# Display the logo in the first column
|