Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
•
2af8c82
1
Parent(s):
3e124e7
Update .env.sample
Browse files- .env.sample +5 -0
- main.py +1 -1
.env.sample
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# plug in your chatgpt/openai api-key and rename this file to .env
|
2 |
+
OPENAI_API_KEY = sk-...
|
3 |
+
|
4 |
+
# also works: reverse-proxy api-key from Pawan.Krd https://discord.com/invite/VCdWGREsmd
|
5 |
+
# OPENAI_API_KEY = pk-...
|
main.py
CHANGED
@@ -22,7 +22,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
22 |
with gr.Tab("Upload files"): # Tab1
|
23 |
with gr.Accordion("Info", open=False):
|
24 |
_ = """
|
25 |
-
|
26 |
|
27 |
和你的文件对话: 可用中文向外语文件提问或用外语向中文文件提问
|
28 |
|
|
|
22 |
with gr.Tab("Upload files"): # Tab1
|
23 |
with gr.Accordion("Info", open=False):
|
24 |
_ = """
|
25 |
+
### multilingual dokugpt/多语dokugpt
|
26 |
|
27 |
和你的文件对话: 可用中文向外语文件提问或用外语向中文文件提问
|
28 |
|