KeshavRa commited on
Commit
99211c5
·
verified ·
1 Parent(s): 8efc765

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py CHANGED
@@ -328,6 +328,22 @@ if selected_app == "4) Upload Datasets":
328
  st.image(image, caption="Example for Step 5",use_column_width=True)
329
  st.divider()
330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  if selected_app == "5) Create Chatbot":
332
  if st.session_state.error != "":
333
  st.error(st.session_state.error)
 
328
  st.image(image, caption="Example for Step 5",use_column_width=True)
329
  st.divider()
330
 
331
+ st.write("6. Enter your HuggingFace access token and click return")
332
+ with st.expander("Don't have a HuggingFace access token?"):
333
+ st.markdown("""
334
+ 1. Go to [HuggingFace](https://huggingface.co/)
335
+ 2. Log-in or sign-up
336
+ 3. Click the icon in the top right and go to Settings
337
+ 4. On the left sidebar, go to Access Tokens
338
+ 5. In the top right, click 'Create new token'
339
+ 6. For 'Token type', select 'Write'
340
+ 7. Give it a name and click 'Create token'
341
+ 8. Save the key to a secure place (you won't have access later)
342
+ """)
343
+ image = Image.open('Example11.png')
344
+ st.image(image, caption="Example for Step 6",use_column_width=True)
345
+ st.divider()
346
+
347
  if selected_app == "5) Create Chatbot":
348
  if st.session_state.error != "":
349
  st.error(st.session_state.error)