Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
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()
|