kneelesh48 commited on
Commit
06ab451
β€’
1 Parent(s): 0214b2e

Update models

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ load_dotenv()
12
 
13
  st.set_page_config(page_title="strftime AI", page_icon="πŸ•˜")
14
 
15
- with open("static/style.css") as f:
16
  st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
17
 
18
  st.header("strftime AI")
@@ -40,7 +40,7 @@ if text:
40
  client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
41
  chat_completion = client.chat.completions.create(
42
  messages=[{"role": "user", "content": prompt}],
43
- model="mixtral-8x7b-32768",
44
  max_tokens=1024,
45
  )
46
  st.markdown(chat_completion.choices[0].message.content)
 
12
 
13
  st.set_page_config(page_title="strftime AI", page_icon="πŸ•˜")
14
 
15
+ with open("static/style.css", encoding="utf-8") as f:
16
  st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
17
 
18
  st.header("strftime AI")
 
40
  client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
41
  chat_completion = client.chat.completions.create(
42
  messages=[{"role": "user", "content": prompt}],
43
+ model="llama3-8b-8192",
44
  max_tokens=1024,
45
  )
46
  st.markdown(chat_completion.choices[0].message.content)