Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ description = "A State-of-the-Art Large-scale Pretrained Response generation mod
|
|
8 |
examples = [["How are you?"]]
|
9 |
|
10 |
|
11 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
12 |
-
model = AutoModelForCausalLM.from_pretrained("
|
13 |
|
14 |
|
15 |
def predict(input, history=[]):
|
|
|
8 |
examples = [["How are you?"]]
|
9 |
|
10 |
|
11 |
+
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen-7B-Chat", trust_remote_code=True)
|
12 |
+
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen-7B-Chat", trust_remote_code=True)
|
13 |
|
14 |
|
15 |
def predict(input, history=[]):
|