File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ class Miner(BaseMinerNeuron):
39
39
def __init__ (self , config = None ):
40
40
super (Miner , self ).__init__ (config = config )
41
41
42
- bt .logging .info (f'Miner running tesseract: { pytesseract .get_tesseract_version ()} and pytesseract version: { pytesseract .get_version ()} ' )
42
+ bt .logging .info (f'pytesseract version: { pytesseract .__version__ } ' )
43
+ bt .logging .info (f'tesseract version: { pytesseract .get_tesseract_version ()} ' )
43
44
44
45
45
46
@@ -50,7 +51,7 @@ async def forward(
50
51
Processes the incoming OCR synapse and attaches the response to the synapse.
51
52
52
53
Args:
53
- synapse (ocr_subnet.protocol.OCRSynapse): The synapse object containing the image data.
54
+ synapse (ocr_subnet.protocol.OCRSynapse): The synapse object containing the image data.
54
55
55
56
Returns:
56
57
ocr_subnet.protocol.OCRSynapse: The synapse object with the 'response' field set to the extracted data.
You can’t perform that action at this time.
0 commit comments