m-ric HF staff commited on
Commit
75baf45
1 Parent(s): 97f9850

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,4 +1,6 @@
1
  from transformers.agents.tools import launch_gradio_demo
2
  from text_to_image import TextToImageTool
 
3
 
 
4
  launch_gradio_demo(TextToImageTool)
 
1
  from transformers.agents.tools import launch_gradio_demo
2
  from text_to_image import TextToImageTool
3
+ import spaces
4
 
5
+ @spaces.GPU
6
  launch_gradio_demo(TextToImageTool)