swjin commited on
Commit
1ed89c5
·
1 Parent(s): 6ff191a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -127,14 +127,14 @@ def main():
127
  handle_userinput(user_question)
128
 
129
  with st.sidebar:
130
- openai_key = st.text_input("Paste your OpenAI API key (sk-...)")
131
  if openai_key:
132
  os.environ["OPENAI_API_KEY"] = openai_key
133
 
134
- st.subheader("Your documents")
135
  docs = st.file_uploader(
136
- "Upload your PDFs here and click on 'Process'", accept_multiple_files=True)
137
- if st.button("Process"):
138
  with st.spinner("Processing"):
139
  # get pdf text
140
  doc_list = []
 
127
  handle_userinput(user_question)
128
 
129
  with st.sidebar:
130
+ openai_key = st.text_input("OpenAI API 키를 입력해주세요 (ex -> sk-...)")
131
  if openai_key:
132
  os.environ["OPENAI_API_KEY"] = openai_key
133
 
134
+ st.subheader("사용할 문서")
135
  docs = st.file_uploader(
136
+ "Upload your PDFs here and click on 'Process'", label="파일 찾아보기", accept_multiple_files=True)
137
+ if st.button("실행"):
138
  with st.spinner("Processing"):
139
  # get pdf text
140
  doc_list = []