Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ from pathlib import Path
|
|
| 20 |
|
| 21 |
|
| 22 |
# Set the title of the Streamlit app
|
| 23 |
-
st.title("E-Commerce Chatbot")
|
| 24 |
|
| 25 |
#====================================SETUP=====================================#
|
| 26 |
# Fetch secrets from Hugging Face Spaces
|
|
@@ -385,6 +385,7 @@ chatbot = AzureChatOpenAI(
|
|
| 385 |
agent = create_tool_calling_agent(chatbot, tools, prompt)
|
| 386 |
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
|
| 387 |
|
|
|
|
| 388 |
|
| 389 |
# Function to process user input and generate a chatbot response
|
| 390 |
def chat_with_agent():
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
# Set the title of the Streamlit app
|
| 23 |
+
#st.title("E-Commerce Chatbot")
|
| 24 |
|
| 25 |
#====================================SETUP=====================================#
|
| 26 |
# Fetch secrets from Hugging Face Spaces
|
|
|
|
| 385 |
agent = create_tool_calling_agent(chatbot, tools, prompt)
|
| 386 |
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
|
| 387 |
|
| 388 |
+
#===============================================Streamlit=========================================#
|
| 389 |
|
| 390 |
# Function to process user input and generate a chatbot response
|
| 391 |
def chat_with_agent():
|