Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
import transformers_gradio
|
3 |
|
4 |
-
gr.load(
|
5 |
name='HuggingFaceTB/SmolVLM-Instruct',
|
6 |
src=transformers_gradio.registry,
|
7 |
-
)
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import transformers_gradio
|
3 |
|
4 |
+
demo = gr.load(
|
5 |
name='HuggingFaceTB/SmolVLM-Instruct',
|
6 |
src=transformers_gradio.registry,
|
7 |
+
)
|
8 |
+
|
9 |
+
demo.fn = spaces.GPU()(demo.fn)
|
10 |
+
|
11 |
+
demo.launch()
|