Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
import ai_gradio
|
3 |
-
import spaces
|
4 |
|
5 |
demo = gr.load(
|
6 |
name='transformers:moondream',
|
7 |
src=ai_gradio.registry
|
8 |
)
|
9 |
|
10 |
-
demo.fn = spaces.GPU()(demo.fn)
|
11 |
-
|
12 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
import ai_gradio
|
|
|
3 |
|
4 |
demo = gr.load(
|
5 |
name='transformers:moondream',
|
6 |
src=ai_gradio.registry
|
7 |
)
|
8 |
|
|
|
|
|
9 |
demo.launch()
|