DurgaDeepak commited on
Commit
30f2776
·
verified ·
1 Parent(s): 1260d08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ For more information on `huggingface_hub` Inference API support, please check th
7
  """
8
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
9
 
10
-
11
  def respond(
12
  message,
13
  history: list[tuple[str, str]],
@@ -44,7 +44,7 @@ def respond(
44
  """
45
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
46
  """
47
- @spaces.GPU
48
  demo = gr.ChatInterface(
49
  respond,
50
  additional_inputs=[
 
7
  """
8
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
9
 
10
+ @spaces.GPU
11
  def respond(
12
  message,
13
  history: list[tuple[str, str]],
 
44
  """
45
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
46
  """
47
+
48
  demo = gr.ChatInterface(
49
  respond,
50
  additional_inputs=[