Skip to content

Commit 651fabe

Browse files
committed
Broader Flask host binding.
1 parent 40ce625 commit 651fabe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gpt_code_ui/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
def run_webapp():
2020
try:
21-
app.run(port=APP_PORT, use_reloader=False)
21+
app.run(host="0.0.0.0", port=APP_PORT, use_reloader=False)
2222
except Exception as e:
2323
logging.exception("Error running the webapp:")
2424
sys.exit(1)

gpt_code_ui/webapp/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,4 @@ def upload_file():
202202

203203

204204
if __name__ == '__main__':
205-
app.run(port=APP_PORT, debug=True, use_reloader=False)
205+
app.run(host="0.0.0.0", port=APP_PORT, debug=True, use_reloader=False)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='gpt_code_ui',
10-
version='0.42.26',
10+
version='0.42.27',
1111
description="An Open Source version of ChatGPT Code Interpreter",
1212
long_description=long_description,
1313
long_description_content_type='text/markdown', # This field specifies the format of the `long_description`.

0 commit comments

Comments
 (0)