ppsingh commited on
Commit
c52262e
1 Parent(s): d16c950

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ with st.sidebar:
3
+ # upload and example doc
4
+ choice = st.sidebar.radio(label = 'Select the Document',
5
+ help = 'You can upload the document \
6
+ or else you can try a example document',
7
+ options = ('Upload Document', 'Try Example'),
8
+ horizontal = True)
9
+ #add_upload(choice)
10
+
11
+ # Create a list of options for the dropdown
12
+ model_options = ['Llama3.1-8B','Llama3.1-70B','Llama3.1-405B','Zephyr 7B β','Mistral-7B','Mixtral-8x7B']
13
+
14
+ # Dropdown selectbox: model
15
+ model_sel = st.selectbox('Select a model:', model_options)
16
+ model_sel_name = model_dict[model_sel]
17
+
18
+ st.session_state['model_sel_name'] = model_sel_name
19
+
20
+ with st.container():
21
+ st.markdown("<h2 style='text-align: center;'> Vulnerability Analysis 3.1 </h2>", unsafe_allow_html=True)
22
+ st.write(' ')