f15hb0wn commited on
Commit
cdfccd7
·
verified ·
1 Parent(s): 191c308

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -54,6 +54,7 @@ def generate_response(instruction, input_text):
54
  return result
55
 
56
  def chatbot(instructions, input_text):
 
57
  response = generate_response(instructions, input_text)
58
  return response
59
 
 
54
  return result
55
 
56
  def chatbot(instructions, input_text):
57
+ torch.cuda.empty_cache()
58
  response = generate_response(instructions, input_text)
59
  return response
60