X-iZhang commited on
Commit
6f78e6a
·
verified ·
1 Parent(s): c1e5f6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -1,9 +1,4 @@
1
  # app.py
2
- import os
3
-
4
- # 1. 在导入 PyTorch、Transformers 等任何使用 GPU 的库之前,先屏蔽 GPU
5
- os.environ["CUDA_VISIBLE_DEVICES"] = ""
6
-
7
  import torch
8
  import gradio as gr
9
  import os
 
1
  # app.py
 
 
 
 
 
2
  import torch
3
  import gradio as gr
4
  import os