ccm commited on
Commit
8a48a1f
·
verified ·
1 Parent(s): 1724548

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -78,6 +78,7 @@ def postprocess(response: str, bypass_from_preprocessing: str) -> str:
78
  """Applies a postprocessing step to the LLM's response before the user receives it"""
79
  return response + bypass_from_preprocessing
80
 
 
81
  def predict(message: str, history: list[str]) -> str:
82
  """This function is responsible for crafting a response"""
83
 
 
78
  """Applies a postprocessing step to the LLM's response before the user receives it"""
79
  return response + bypass_from_preprocessing
80
 
81
+ @spaces.GPU
82
  def predict(message: str, history: list[str]) -> str:
83
  """This function is responsible for crafting a response"""
84