Update app.py
Browse files
app.py
CHANGED
|
@@ -258,13 +258,6 @@ def create_interface():
|
|
| 258 |
|
| 259 |
# 启动应用
|
| 260 |
if __name__ == "__main__":
|
| 261 |
-
# 清除可能干扰的代理设置
|
| 262 |
-
if 'http_proxy' in os.environ:
|
| 263 |
-
del os.environ['http_proxy']
|
| 264 |
-
if 'https_proxy' in os.environ:
|
| 265 |
-
del os.environ['https_proxy']
|
| 266 |
-
if 'all_proxy' in os.environ:
|
| 267 |
-
del os.environ['all_proxy']
|
| 268 |
|
| 269 |
app = create_interface()
|
| 270 |
# 使用简化的启动配置
|
|
|
|
| 258 |
|
| 259 |
# 启动应用
|
| 260 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
|
| 262 |
app = create_interface()
|
| 263 |
# 使用简化的启动配置
|