Update app_it.py
Browse files
app_it.py
CHANGED
@@ -7,10 +7,7 @@ import gradio as gr
|
|
7 |
import numpy as np
|
8 |
import re
|
9 |
import string
|
10 |
-
|
11 |
from peft import PeftModel, PeftConfig
|
12 |
-
from transformers import AutoModelForCausalLM
|
13 |
-
from transformers import AutoTokenizer
|
14 |
|
15 |
tokenizer = AutoTokenizer.from_pretrained("osiria/primo")
|
16 |
model = AutoModelForCausalLM.from_pretrained("osiria/primo")
|
|
|
7 |
import numpy as np
|
8 |
import re
|
9 |
import string
|
|
|
10 |
from peft import PeftModel, PeftConfig
|
|
|
|
|
11 |
|
12 |
tokenizer = AutoTokenizer.from_pretrained("osiria/primo")
|
13 |
model = AutoModelForCausalLM.from_pretrained("osiria/primo")
|