suriya7 commited on
Commit
e3a6b96
β€’
1 Parent(s): e5e165a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ import base64
10
  # Load environment variables
11
  load_dotenv()
12
 
13
- icons = {"assistant": "./assistant.jpeg", "user": "πŸ‘½"}
14
 
15
  # Configure the Llama index settings
16
  Settings.llm = HuggingFaceInferenceAPI(
@@ -105,7 +105,7 @@ with st.sidebar:
105
  user_prompt = st.chat_input("Ask me anything about the content of the PDF:")
106
  if user_prompt and uploaded_file:
107
  st.session_state.messages.append({'role': 'user', "content": user_prompt})
108
- with st.chat_message("user", avatar="πŸ‘½"):
109
  st.write(user_prompt)
110
  # response = handle_query(user_prompt)
111
  # st.session_state.messages.append({'role': 'assistant', "content": response})
 
10
  # Load environment variables
11
  load_dotenv()
12
 
13
+ icons = {"assistant": "./assistant.jpeg", "user": "./hum.jpeg"}
14
 
15
  # Configure the Llama index settings
16
  Settings.llm = HuggingFaceInferenceAPI(
 
105
  user_prompt = st.chat_input("Ask me anything about the content of the PDF:")
106
  if user_prompt and uploaded_file:
107
  st.session_state.messages.append({'role': 'user', "content": user_prompt})
108
+ with st.chat_message("user", avatar="./hum.jpeg"):
109
  st.write(user_prompt)
110
  # response = handle_query(user_prompt)
111
  # st.session_state.messages.append({'role': 'assistant', "content": response})