Spaces:
Runtime error
Runtime error
Commit
·
0b911ba
1
Parent(s):
2aae583
Update app.py
Browse files
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 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
|
29 |
|
30 |
def upload_file(file_obj):
|
@@ -101,7 +101,7 @@ with block:
|
|
101 |
)
|
102 |
|
103 |
gr.HTML(
|
104 |
-
"<center>Powered by
|
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()
|