Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,10 @@ def givetext(input_text,lmodel,ltokenizer):
|
|
64 |
print("BEFORE ATTEMPTING TO MOVE LMODEL TO CPU")
|
65 |
|
66 |
lmodel = lmodel.to("cpu")
|
|
|
|
|
|
|
|
|
67 |
|
68 |
print("BEFORE GENERATING LMODEL")
|
69 |
|
|
|
64 |
print("BEFORE ATTEMPTING TO MOVE LMODEL TO CPU")
|
65 |
|
66 |
lmodel = lmodel.to("cpu")
|
67 |
+
|
68 |
+
print("BEFORE ATTEMPTING .cpu()")
|
69 |
+
|
70 |
+
lmodel.cpu()
|
71 |
|
72 |
print("BEFORE GENERATING LMODEL")
|
73 |
|