mostafa-sh commited on
Commit
cc81ecf
·
1 Parent(s): 35f0bee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ import os
3
  # Set the cache directory to persistent storage
4
  os.environ["HF_HOME"] = "/data/.cache/huggingface"
5
 
 
6
  import streamlit as st
7
  from utils.help import get_disclaimer
8
  from utils.format import sec_to_time, fix_latex, get_youtube_embed
@@ -122,7 +123,7 @@ with st.sidebar:
122
  st.session_state.expert_model = st.selectbox(
123
  "Choose the LLM model",
124
  ["LLaMA-TOMMI-1.0-11B", "LLaMA-3.2-11B", "gpt-4o-mini"],
125
- index=2,
126
  key='a1model'
127
  )
128
 
 
3
  # Set the cache directory to persistent storage
4
  os.environ["HF_HOME"] = "/data/.cache/huggingface"
5
 
6
+ from huggingface_hub import snapshot_download
7
  import streamlit as st
8
  from utils.help import get_disclaimer
9
  from utils.format import sec_to_time, fix_latex, get_youtube_embed
 
123
  st.session_state.expert_model = st.selectbox(
124
  "Choose the LLM model",
125
  ["LLaMA-TOMMI-1.0-11B", "LLaMA-3.2-11B", "gpt-4o-mini"],
126
+ index=0,
127
  key='a1model'
128
  )
129