Tonic commited on
Commit
5bc91bc
1 Parent(s): 920bc28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
  from texify.inference import batch_inference
3
  from texify.model.model import load_model
4
  from texify.model.processor import load_processor
@@ -12,7 +13,7 @@ Join us: TeamTonic is always making cool demos! Join our active builder's comm
12
 
13
  model = load_model()
14
  processor = load_processor()
15
-
16
  def process_image(img):
17
  # img = Image.fromarray(img)
18
 
 
1
  import gradio as gr
2
+ +import spaces
3
  from texify.inference import batch_inference
4
  from texify.model.model import load_model
5
  from texify.model.processor import load_processor
 
13
 
14
  model = load_model()
15
  processor = load_processor()
16
+ +@spaces.GPU
17
  def process_image(img):
18
  # img = Image.fromarray(img)
19