Spaces:
Build error
Build error
Hjgugugjhuhjggg
commited on
Commit
•
d18daae
1
Parent(s):
1cb967f
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,7 @@ MAX_TOKENS = 2048
|
|
41 |
|
42 |
executor = ThreadPoolExecutor(max_workers=4)
|
43 |
|
|
|
44 |
device = torch.device("cpu")
|
45 |
|
46 |
def get_best_response(new_response, previous_responses):
|
|
|
41 |
|
42 |
executor = ThreadPoolExecutor(max_workers=4)
|
43 |
|
44 |
+
# Configuración para usar solo la CPU
|
45 |
device = torch.device("cpu")
|
46 |
|
47 |
def get_best_response(new_response, previous_responses):
|