Jhakx commited on
Commit
293e760
·
verified ·
1 Parent(s): 167447b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
2
  import spaces
3
- @spaces.GPU
4
- gr.load("models/codellama/CodeLlama-34b-Instruct-hf").launch()
 
 
1
  import gradio as gr
2
  import spaces
3
+ def __init__(self):
4
+ @spaces.GPU
5
+ self.gr.load("models/codellama/CodeLlama-34b-Instruct-hf").launch()