Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,13 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
"""
|
| 5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 6 |
"""
|
| 7 |
-
new_path = "meta-llama/Meta-Llama-3.1-8B-Instruct" # cannot use
|
| 8 |
new_path2 = "Nexesenex/TeeZee_Kyllene-Yi-34B-v1.1-iMat.GGUF"
|
| 9 |
new_path1 = "tastypear/CausalLM-7B-DPO-alpha-GGUF" # cannot use
|
| 10 |
new_path3 = "aifeifei798/llama3-8B-DarkIdol-2.3-Uncensored-32K"
|
| 11 |
new_path4 = "marianna13/byt5-small-NSFW-image-urls"
|
| 12 |
origin_path = "HuggingFaceH4/zephyr-7b-beta"
|
| 13 |
-
client = InferenceClient(
|
| 14 |
|
| 15 |
|
| 16 |
def respond(
|
|
|
|
| 4 |
"""
|
| 5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 6 |
"""
|
| 7 |
+
new_path = "meta-llama/Meta-Llama-3.1-8B-Instruct" # cannot use 需pro用户
|
| 8 |
new_path2 = "Nexesenex/TeeZee_Kyllene-Yi-34B-v1.1-iMat.GGUF"
|
| 9 |
new_path1 = "tastypear/CausalLM-7B-DPO-alpha-GGUF" # cannot use
|
| 10 |
new_path3 = "aifeifei798/llama3-8B-DarkIdol-2.3-Uncensored-32K"
|
| 11 |
new_path4 = "marianna13/byt5-small-NSFW-image-urls"
|
| 12 |
origin_path = "HuggingFaceH4/zephyr-7b-beta"
|
| 13 |
+
client = InferenceClient(origin_path)
|
| 14 |
|
| 15 |
|
| 16 |
def respond(
|