Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ from tokenization_yi import YiTokenizer
|
|
3 |
import torch
|
4 |
import os
|
5 |
import gradio as gr
|
|
|
|
|
6 |
|
7 |
# Load the model and tokenizer
|
8 |
model_name = "01-ai/Yi-34B-200K"
|
|
|
3 |
import torch
|
4 |
import os
|
5 |
import gradio as gr
|
6 |
+
import sentencepiece
|
7 |
+
|
8 |
|
9 |
# Load the model and tokenizer
|
10 |
model_name = "01-ai/Yi-34B-200K"
|