Spestly commited on
Commit
fb78f43
Β·
verified Β·
1 Parent(s): e6ff733

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -18,10 +18,10 @@ MODELS = {
18
  "sizes": {
19
  "1.5B": "Spestly/Atlas-R1-1.5B-Preview",
20
  },
21
- "emoji": "",
22
  "experimental": True,
23
- "is_vision": False, # Set to True to enable vision support
24
- "system_prompt_env": "ATLAS_FLASH_1215", # Env variable for the system prompt
25
  },
26
  }
27
 
@@ -176,7 +176,7 @@ class AtlasInferenceApp:
176
  ):
177
  st.markdown(message["content"])
178
  if "image" in message:
179
- st.image(message["image"], caption="Uploaded Image", use_column_width=True)
180
 
181
  # Input box for user messages
182
  if prompt := st.chat_input("Message Atlas..."):
@@ -189,7 +189,7 @@ class AtlasInferenceApp:
189
  with st.chat_message("user", avatar=USER_PFP):
190
  st.markdown(prompt)
191
  if uploaded_image:
192
- st.image(uploaded_image, caption="Uploaded Image", use_column_width=True)
193
 
194
  with st.chat_message("assistant", avatar=AI_PFP):
195
  with st.spinner("Generating response..."):
 
18
  "sizes": {
19
  "1.5B": "Spestly/Atlas-R1-1.5B-Preview",
20
  },
21
+ "emoji": "🦁",
22
  "experimental": True,
23
+ "is_vision": False, # Enable vision support for this model
24
+ "system_prompt_env": "ATLAS_FLASH_1215", # Environment variable for system prompt
25
  },
26
  }
27
 
 
176
  ):
177
  st.markdown(message["content"])
178
  if "image" in message:
179
+ st.image(message["image"], caption="Uploaded Image", use_container_width=True) # Updated parameter
180
 
181
  # Input box for user messages
182
  if prompt := st.chat_input("Message Atlas..."):
 
189
  with st.chat_message("user", avatar=USER_PFP):
190
  st.markdown(prompt)
191
  if uploaded_image:
192
+ st.image(uploaded_image, caption="Uploaded Image", use_container_width=True) # Updated parameter
193
 
194
  with st.chat_message("assistant", avatar=AI_PFP):
195
  with st.spinner("Generating response..."):