Spaces:
Running
Running
Ammartatox
commited on
Commit
•
7c089cd
1
Parent(s):
e88b4ff
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ class MessageDict(TypedDict):
|
|
13 |
# Load the model and tokenizer
|
14 |
# Load model directly
|
15 |
from transformers import AutoModel
|
16 |
-
model = AutoModel.from_pretrained("Ammartatox/
|
17 |
-
tokenizer = AutoTokenizer.from_pretrained("Ammartatox/
|
18 |
|
19 |
streamer = TextIteratorStreamer(tokenizer, skip_prompt=True)
|
20 |
|
|
|
13 |
# Load the model and tokenizer
|
14 |
# Load model directly
|
15 |
from transformers import AutoModel
|
16 |
+
model = AutoModel.from_pretrained("Ammartatox/newqwen1e")
|
17 |
+
tokenizer = AutoTokenizer.from_pretrained("Ammartatox/newqwen1e")
|
18 |
|
19 |
streamer = TextIteratorStreamer(tokenizer, skip_prompt=True)
|
20 |
|