csxmli commited on
Commit
27a4300
·
verified ·
1 Parent(s): e7cfa43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,6 +5,7 @@ import os
5
  import os.path as osp
6
  import time
7
  import gradio as gr
 
8
 
9
  os.environ["GRADIO_TEMP_DIR"] = "./gradio_tmp"
10
 
@@ -114,4 +115,4 @@ with gr.Blocks() as demo:
114
  )
115
 
116
  if __name__ == "__main__":
117
- demo.launch(debug=DEBUG, share=True)
 
5
  import os.path as osp
6
  import time
7
  import gradio as gr
8
+ os.environ['TORCH_CUDA_ARCH_LIST']="7.5;8.6"
9
 
10
  os.environ["GRADIO_TEMP_DIR"] = "./gradio_tmp"
11
 
 
115
  )
116
 
117
  if __name__ == "__main__":
118
+ demo.launch()