mtyrrell commited on
Commit
2c973b6
·
1 Parent(s): ed65285
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -54,6 +54,10 @@ with st.sidebar:
54
  horizontal = True)
55
  add_upload(choice)
56
 
 
 
 
 
57
  # Create a list of options for the dropdown
58
  model_options = ['Llama3.1-8B','Llama3.1-70B','Llama3.1-405B','Zephyr 7B β','Mistral-7B','Mixtral-8x7B']
59
 
 
54
  horizontal = True)
55
  add_upload(choice)
56
 
57
+ # Now display the document name
58
+ if 'filename' in st.session_state:
59
+ doc_name = os.path.basename(st.session_state['filename'])
60
+
61
  # Create a list of options for the dropdown
62
  model_options = ['Llama3.1-8B','Llama3.1-70B','Llama3.1-405B','Zephyr 7B β','Mistral-7B','Mixtral-8x7B']
63