PDF-chatbot / apikey.py
ShoaibMajidDar's picture
Update apikey.py
ee89d65
raw
history blame contribute delete
264 Bytes
import streamlit as st
def get_apikey():
OPENAI_API_KEY = st.text_input(":blue[Enter Your OPENAI API-KEY :]",
placeholder="Paste your OpenAI API key here (sk-...)",
type="password",
)
return OPENAI_API_KEY