Tuana commited on
Commit
9eb208e
1 Parent(s): 7e11e1f

change button names

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,13 +22,13 @@ def openai_pressed():
22
 
23
  st.write("# Get the summaries of latest top Hacker News posts 🧡")
24
  if st.session_state.get("model") == None:
25
- mistral, openai, _ , _ = st.columns(4, gap="small")
26
 
27
  with mistral:
28
- st.button("Mistral", on_click=mistral_pressed, type="primary")
29
 
30
  with openai:
31
- st.button("OpenAI", on_click=openai_pressed, type="primary")
32
 
33
  if st.session_state.get("model") and (st.session_state.get("HF_TGI_TOKEN") or st.session_state.get("OPENAI_API_KEY")):
34
 
 
22
 
23
  st.write("# Get the summaries of latest top Hacker News posts 🧡")
24
  if st.session_state.get("model") == None:
25
+ mistral, openai = st.columns([2,1], gap="small")
26
 
27
  with mistral:
28
+ st.button("Mixtral-8x7B-Instruct", on_click=mistral_pressed, type="primary")
29
 
30
  with openai:
31
+ st.button("GPT-4", on_click=openai_pressed, type="primary")
32
 
33
  if st.session_state.get("model") and (st.session_state.get("HF_TGI_TOKEN") or st.session_state.get("OPENAI_API_KEY")):
34