Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesHF spec change.
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
-
import spaces
|
4 |
-
|
5 |
-
|
6 |
|
7 |
model = AutoModelForCausalLM.from_pretrained("instruction-pretrain/instruction-synthesizer")
|
8 |
model.to('cuda')
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
|
|
|
4 |
|
5 |
model = AutoModelForCausalLM.from_pretrained("instruction-pretrain/instruction-synthesizer")
|
6 |
model.to('cuda')
|