ryanpdwyer
commited on
Commit
·
1f5c613
1
Parent(s):
8f1cd48
Added spaces packag
Browse files- app.py +4 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
import spaces
|
3 |
|
4 |
+
@spaces.GPU
|
5 |
+
def run():
|
6 |
+
gr.load("models/unsloth/Meta-Llama-3.1-8B-bnb-4bit").launch()
|
requirements.txt
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
huggingface_hub==0.22.2
|
|
|
|
1 |
+
huggingface_hub==0.22.2
|
2 |
+
spaces
|