binary-husky commited on
Commit
2881e08
1 Parent(s): a287230

修复gradio不吃代理的问题

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -1,5 +1,5 @@
 
1
  import gradio as gr
2
- import os
3
  import markdown, mdtex2html
4
  from predict import predict
5
  from show_math import convert as convert_math
 
1
+ import os; os.environ['no_proxy'] = '*'
2
  import gradio as gr
 
3
  import markdown, mdtex2html
4
  from predict import predict
5
  from show_math import convert as convert_math