MegaTronX commited on
Commit
db77fc4
·
verified ·
1 Parent(s): 80ca826

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
 
3
  if torch.cuda.is_available() or os.getenv("ZERO_GPU_SUPPORT", False):
4
- @spaces.GPU
5
  gr.load("models/infly/OpenCoder-8B-Instruct").launch()
 
6
  else:
7
  raise RuntimeError("No compatible GPU environment found for this model.")
8
 
 
1
  import gradio as gr
2
 
3
  if torch.cuda.is_available() or os.getenv("ZERO_GPU_SUPPORT", False):
 
4
  gr.load("models/infly/OpenCoder-8B-Instruct").launch()
5
+ @spaces.GPU
6
  else:
7
  raise RuntimeError("No compatible GPU environment found for this model.")
8