Update app.py
Browse files
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 |
|