0ndr3 commited on
Commit
ae6eb91
·
verified ·
1 Parent(s): 19f0a20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -4,15 +4,14 @@ 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
-
8
- client = InferenceClient("ruslandev/llama-3-8b-gpt-4o-ru1.0")
9
- # client = InferenceClient("sambanovasystems/SambaLingo-Russian-Chat")
10
  # client = InferenceClient("timpal0l/mdeberta-v3-base-squad2") X
11
  # client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct") V
12
  # client = InferenceClient("openai/whisper-large-v3") X
13
  # client = InferenceClient("HuggingFaceH4/zephyr-7b-beta") X
14
 
15
-
16
  def respond(
17
  message,
18
  history: list[tuple[str, str]],
 
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
+ client = InferenceClient("AlexKay/xlm-roberta-large-qa-multilingual-finedtuned-ru")
8
+ # client = InferenceClient("ruslandev/llama-3-8b-gpt-4o-ru1.0") X
9
+ # client = InferenceClient("sambanovasystems/SambaLingo-Russian-Chat") X
10
  # client = InferenceClient("timpal0l/mdeberta-v3-base-squad2") X
11
  # client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct") V
12
  # client = InferenceClient("openai/whisper-large-v3") X
13
  # client = InferenceClient("HuggingFaceH4/zephyr-7b-beta") X
14
 
 
15
  def respond(
16
  message,
17
  history: list[tuple[str, str]],