DurgaDeepak commited on
Commit
fed20c9
·
verified ·
1 Parent(s): 35dcd93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
  from huggingface_hub import InferenceClient
3
 
4
  """
@@ -43,6 +44,7 @@ def respond(
43
  """
44
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
45
  """
 
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
 
1
  import gradio as gr
2
+ import spaces
3
  from huggingface_hub import InferenceClient
4
 
5
  """
 
44
  """
45
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
46
  """
47
+ @spaces
48
  demo = gr.ChatInterface(
49
  respond,
50
  additional_inputs=[