chriscelaya commited on
Commit
0b911ba
·
1 Parent(s): 2aae583

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -20,11 +20,11 @@ def click_embed(file):
20
  visible=True), gr.update(visible=True)
21
 
22
 
23
- def set_openai_api_key(api_key: str):
24
- """Set the api key.
25
- """
26
- if api_key:
27
- os.environ["OPENAI_API_KEY"] = api_key
28
 
29
 
30
  def upload_file(file_obj):
@@ -101,7 +101,7 @@ with block:
101
  )
102
 
103
  gr.HTML(
104
- "<center>Powered by <a href='https://github.com/hwchase17/langchain'>LangChain 🦜️🔗</a></center>"
105
  )
106
 
107
  state = gr.State()
 
20
  visible=True), gr.update(visible=True)
21
 
22
 
23
+ # def set_openai_api_key(api_key: str):
24
+ # """Set the api key.
25
+ # """
26
+ # if api_key:
27
+ # os.environ["OPENAI_API_KEY"] = api_key
28
 
29
 
30
  def upload_file(file_obj):
 
101
  )
102
 
103
  gr.HTML(
104
+ "<center>Powered by 🦜️🔗</a></center>"
105
  )
106
 
107
  state = gr.State()