Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
2 |
from threading import Thread
|
3 |
|
4 |
-
model = AutoModelForCausalLM.from_pretrained("
|
5 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
6 |
streamer = TextIteratorStreamer(tokenizer, skip_prompt=True)
|
7 |
|
8 |
import re
|
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
2 |
from threading import Thread
|
3 |
|
4 |
+
model = AutoModelForCausalLM.from_pretrained("ystemsrx/Qwen2-Boundless")
|
5 |
+
tokenizer = AutoTokenizer.from_pretrained("ystemsrx/Qwen2-Boundless")
|
6 |
streamer = TextIteratorStreamer(tokenizer, skip_prompt=True)
|
7 |
|
8 |
import re
|