eagle0504 commited on
Commit
d6e94f2
·
verified ·
1 Parent(s): 7233b30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -9,6 +9,8 @@ st.set_page_config(layout="wide")
9
  # Hardcoded credentials
10
  USERNAME = os.environ["USERNAME"]
11
  PASSWORD = os.environ["PASSWORD"]
 
 
12
  BASE_CONTENT_CODE_ASSIST_T2_MICRO = os.environ["BASE_CONTENT_CODE_ASSIST_T2_MICRO"]
13
  BASE_CONTENT_PROTEIN_T2_MICRO = os.environ["BASE_CONTENT_PROTEIN_T2_MICRO"]
14
 
@@ -106,6 +108,8 @@ if st.session_state.logged_in:
106
  You will need to ask user: 1) type of task, 2) size of data, 3) size of models.
107
  You will then make a suggestion of what type of GPU or instance is the best for the user.
108
  When you make a suggestion, use the link from the data above.
 
 
109
 
110
  """})
111
  st.session_state.messages.append({"role": "user", "content": prompt})
 
9
  # Hardcoded credentials
10
  USERNAME = os.environ["USERNAME"]
11
  PASSWORD = os.environ["PASSWORD"]
12
+ JUPYTER_USERNAME = os.environ["JUPYTER_USERNAME"]
13
+ JUPYTER_PASSWORD = os.environ["JUPYTER_PASSWORD"]
14
  BASE_CONTENT_CODE_ASSIST_T2_MICRO = os.environ["BASE_CONTENT_CODE_ASSIST_T2_MICRO"]
15
  BASE_CONTENT_PROTEIN_T2_MICRO = os.environ["BASE_CONTENT_PROTEIN_T2_MICRO"]
16
 
 
108
  You will need to ask user: 1) type of task, 2) size of data, 3) size of models.
109
  You will then make a suggestion of what type of GPU or instance is the best for the user.
110
  When you make a suggestion, use the link from the data above.
111
+ When you make a suggestion, also make sure to mention, for first time user, use sample login info:
112
+ username={JUPYTER_USERNAME}, and password={JUPYTER_PASSWORD} when click on the link recommended.
113
 
114
  """})
115
  st.session_state.messages.append({"role": "user", "content": prompt})