Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed May 13, 2024
1 parent cd92b3d commit 59c03d8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions gradio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# gradio内网加载慢的问题


版本4.29
目录位置/path to conda/anaconda3/envs/conda name/lib/python3.xx/site-packages/gradio
1. 修改 themes/utils/fonts.py
搜索googleapis
修改为 return ''#f'.......

2. 修改templates/frontend/index.html
搜索cdnjs
修改为src="assets/iframeResizer.contentWindow.min.js"//"http://cdnjs.......

3. 代码中添加os.environ['GRADIO_ANALYTICS_ENABLED']='False'


版本3.36.1
之前搜到过一个网页,照着改就行了现在找不到了。
2 changes: 2 additions & 0 deletions llmlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
1. Transformers
2. peft
3. deepspeed
4. Accelerate
5. FasterTransformer->TensorRT-LLM

0 comments on commit 59c03d8

Please sign in to comment.