eliebak HF staff commited on
Commit
ea7122b
1 Parent(s): 5cf51f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,12 +1,12 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
-
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("eliebak/wsd_124M_300B_edu")
8
 
9
-
10
  def respond(
11
  message,
12
  history: list[tuple[str, str]],
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
+ import spaces
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("eliebak/wsd_124M_300B_edu")
8
 
9
+ @spaces.GPU
10
  def respond(
11
  message,
12
  history: list[tuple[str, str]],