Zerx966 commited on
Commit
9121c16
·
verified ·
1 Parent(s): 956c04c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,7 +5,9 @@ from huggingface_hub import InferenceClient
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
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
8
-
 
 
9
 
10
  def respond(
11
  message,
 
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
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
8
+ # Load model directly
9
+ from transformers import AutoModel
10
+ model = AutoModel.from_pretrained("Zyphra/BlackMamba-2.8B")
11
 
12
  def respond(
13
  message,