suriya7 commited on
Commit
d249a32
β€’
1 Parent(s): e77f60d

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": "πŸ‘½", "user": "./hum.jpeg"}
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="./hum.jpeg"):
109
  st.write(user_prompt)
110
 
111
  # Generate a new response if last message is not from assistant
 
10
  # Load environment variables
11
  load_dotenv()
12
 
13
+ icons = {"assistant": "πŸ‘½", "user": "웃"}
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=".웃"):
109
  st.write(user_prompt)
110
 
111
  # Generate a new response if last message is not from assistant