Noperi commited on
Commit
becdf9f
·
1 Parent(s): 20df4b2

Add @spaces.GPU decorator to gradio app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
 
2
 
 
3
  def health():
4
  return "GitCloud Bridge Active"
5
 
 
1
  import gradio as gr
2
+ import spaces
3
 
4
+ @spaces.GPU
5
  def health():
6
  return "GitCloud Bridge Active"
7