Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def greet(modelpath1="",modelpath2="",modelpath3="",modelpath4="",modelpath5="")
|
|
12 |
return "Please enter at least 2 model names."
|
13 |
urls = []
|
14 |
for name in names:
|
15 |
-
if name in ["meta-llama/Llama-2-7b-hf","meta-llama/Llama-2-13b-hf","meta-llama/Llama-2-70b-hf","meta-llama/Llama-2-7b-chat-hf","meta-llama/Llama-2-13b-chat-hf","meta-llama/Llama-2-70b-chat-hf"]:
|
16 |
urls.append("https://huggingface.co/spaces/gojiteji/LLM-Comparer/raw/main/" + name + "/config.json")
|
17 |
else:
|
18 |
urls.append("https://huggingface.co/" + name + "/raw/main/config.json")
|
|
|
12 |
return "Please enter at least 2 model names."
|
13 |
urls = []
|
14 |
for name in names:
|
15 |
+
if name in ["meta-llama/Llama-2-7b-hf","meta-llama/Llama-2-13b-hf","meta-llama/Llama-2-70b-hf","meta-llama/Llama-2-7b-chat-hf","meta-llama/Llama-2-13b-chat-hf","meta-llama/Llama-2-70b-chat-hf","stabilityai/japanese-stablelm-instruct-alpha-7b"]:
|
16 |
urls.append("https://huggingface.co/spaces/gojiteji/LLM-Comparer/raw/main/" + name + "/config.json")
|
17 |
else:
|
18 |
urls.append("https://huggingface.co/" + name + "/raw/main/config.json")
|