jonaschua commited on
Commit
4deb2e9
·
verified ·
1 Parent(s): 40bf951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,10 +11,10 @@ print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
11
  """
12
  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
13
  """
14
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
15
- # client = InferenceClient("deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B", token=os.getenv('deepseekv2'))
16
 
17
- @spaces.GPU(duration=3)
18
  def respond(
19
  message,
20
  history: list[tuple[str, str]],
 
11
  """
12
  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
13
  """
14
+ # client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
15
+ client = InferenceClient("deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B", token=os.getenv('deepseekv2'))
16
 
17
+ @spaces.GPU#(duration=3)
18
  def respond(
19
  message,
20
  history: list[tuple[str, str]],