schroneko commited on
Commit
29e0785
1 Parent(s): 7093c94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,3 +1,9 @@
1
  import gradio as gr
 
2
 
3
- gr.load("models/meta-llama/Llama-Guard-3-8B-INT8").launch()
 
 
 
 
 
 
1
  import gradio as gr
2
+ import spaces
3
 
4
+ @spaces.GPU
5
+ def inference():
6
+ return gr.load("models/meta-llama/Llama-Guard-3-8B-INT8")
7
+
8
+ demo = inference()
9
+ demo.launch()