statisticalplumber commited on
Commit
d20fb15
·
1 Parent(s): 8af25c6

Update app.py

Browse files

changes to key

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from langchain.chat_models import ChatOpenAI
4
  import os
5
  import streamlit as st
6
 
7
- key = st.text_input("Provide Openai API Key to Chat")
8
  @st.cache_resource
9
  def get_whisper():
10
  model = whisper.load_model("base")
 
4
  import os
5
  import streamlit as st
6
 
7
+ key = st.sidebar.text_input("Provide Openai API Key to Chat", type = 'password')
8
  @st.cache_resource
9
  def get_whisper():
10
  model = whisper.load_model("base")