ryanpdwyer commited on
Commit
1f5c613
·
1 Parent(s): 8f1cd48

Added spaces packag

Browse files
Files changed (2) hide show
  1. app.py +4 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -1,3 +1,6 @@
1
  import gradio as gr
 
2
 
3
- gr.load("models/unsloth/Meta-Llama-3.1-8B-bnb-4bit").launch()
 
 
 
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