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

Update app.py

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