Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,7 @@ from save_data import flag
|
|
20 |
import spaces
|
21 |
import pytesseract
|
22 |
from PIL import Image
|
|
|
23 |
|
24 |
zero = torch.Tensor([0]).cuda()
|
25 |
tf.config.experimental.set_memory_growth(zero, True)
|
|
|
20 |
import spaces
|
21 |
import pytesseract
|
22 |
from PIL import Image
|
23 |
+
import torch
|
24 |
|
25 |
zero = torch.Tensor([0]).cuda()
|
26 |
tf.config.experimental.set_memory_growth(zero, True)
|