update
Browse files
app.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
# Adapted from https://github.com/THUDM/ChatGLM-6B/blob/main/web_demo.py
|
2 |
-
|
3 |
import argparse
|
4 |
from pathlib import Path
|
5 |
|
@@ -10,8 +8,7 @@ import urllib
|
|
10 |
|
11 |
DEFAULT_MODEL_PATH = "chatglm3-6b.bin"
|
12 |
|
13 |
-
|
14 |
-
testfile.retrieve(
|
15 |
"https://huggingface.co/Braddy/chatglm3-6b-chitchat/resolve/main/q5_1.bin?download=true",
|
16 |
DEFAULT_MODEL_PATH
|
17 |
)
|
|
|
|
|
|
|
1 |
import argparse
|
2 |
from pathlib import Path
|
3 |
|
|
|
8 |
|
9 |
DEFAULT_MODEL_PATH = "chatglm3-6b.bin"
|
10 |
|
11 |
+
urllib.request.urlretrieve(
|
|
|
12 |
"https://huggingface.co/Braddy/chatglm3-6b-chitchat/resolve/main/q5_1.bin?download=true",
|
13 |
DEFAULT_MODEL_PATH
|
14 |
)
|