File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
gpt_code_ui/kernel_program Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ export OPENAI_API_KEY=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
2
+ export VITE_APP_VERSION=0.0.42
3
+ export VITE_WEB_ADDRESS=http://127.0.0.1:8080
4
+ export GH_API_TOKEN=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
Original file line number Diff line number Diff line change 14
14
15
15
from flask import Flask , request , jsonify
16
16
from flask_cors import CORS # Import the CORS library
17
+ from dotenv import load_dotenv
17
18
18
19
19
20
import gpt_code_ui .kernel_program .kernel_manager as kernel_manager
20
21
import gpt_code_ui .kernel_program .config as config
21
22
import gpt_code_ui .kernel_program .utils as utils
22
23
24
+ load_dotenv ('.env' )
25
+
23
26
APP_PORT = int (os .environ .get ("API_PORT" , 5010 ))
24
27
25
28
# Get global logger
Original file line number Diff line number Diff line change 7
7
8
8
setup (
9
9
name = 'gpt_code_ui' ,
10
- version = '0.42.20 ' ,
10
+ version = '0.42.21 ' ,
11
11
description = "An Open Source version of ChatGPT Code Interpreter" ,
12
12
long_description = long_description ,
13
13
long_description_content_type = 'text/markdown' , # This field specifies the format of the `long_description`.
You can’t perform that action at this time.
0 commit comments