drlee1 commited on
Commit
c1aae0a
ยท
verified ยท
1 Parent(s): d8a7354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,6 +8,7 @@ from langchain.embeddings import OpenAIEmbeddings
8
  from langchain_community.vectorstores import FAISS
9
 
10
  API_KEY = os.getenv("YOUR_KEY")
 
11
  MODEL = "gpt-4o"
12
 
13
  client = OpenAI(api_key = API_KEY)
@@ -63,6 +64,5 @@ gr.ChatInterface(
63
  theme = gr.themes.Soft(primary_hue = "purple"),
64
  examples = [
65
  "ํŒŒ์ด์ฌ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด๋ฅผ ๋…ํ•™ํ•˜๊ธฐ ์œ„ํ•œ ์˜์ƒ์„ ์ถ”์ฒœํ•ด์ค˜.",
66
- "์š”์ฆ˜ ์—์„ธ์ด๋ฅผ ์ž‘์„ฑํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋ณด๋‹ค ํšจ๊ณผ์ ์œผ๋กœ ๊ธ€์„ ์จ๋‚ด๋ ค๊ฐ€๋Š” ๋ฐฉ๋ฒ•์„ ์ œ์‹œํ•ด์ฃผ๋Š” ์˜์ƒ์„ ์ถ”์ฒœํ•ด์ฃผ์„ธ์š”."
67
  ]
68
- ).launch(share = True, auth = ("user", "PASSWORD"))
 
8
  from langchain_community.vectorstores import FAISS
9
 
10
  API_KEY = os.getenv("YOUR_KEY")
11
+ PASSWORD = os.getenv("PASSSWORD")
12
  MODEL = "gpt-4o"
13
 
14
  client = OpenAI(api_key = API_KEY)
 
64
  theme = gr.themes.Soft(primary_hue = "purple"),
65
  examples = [
66
  "ํŒŒ์ด์ฌ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด๋ฅผ ๋…ํ•™ํ•˜๊ธฐ ์œ„ํ•œ ์˜์ƒ์„ ์ถ”์ฒœํ•ด์ค˜.",
 
67
  ]
68
+ ).launch(share = True, auth = ("user", PASSWORD))