Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|