Spaces:
Runtime error
Runtime error
Commit
·
986ac19
1
Parent(s):
e140fd2
checking if the model is really none
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ def custom_standardization(s):
|
|
13 |
return s
|
14 |
|
15 |
model = build()
|
|
|
16 |
|
17 |
def single_img_transcribe(image, temperature=1):
|
18 |
initial = model.word_to_index([['[START]']]) # (batch, sequence)
|
|
|
13 |
return s
|
14 |
|
15 |
model = build()
|
16 |
+
print(model)
|
17 |
|
18 |
def single_img_transcribe(image, temperature=1):
|
19 |
initial = model.word_to_index([['[START]']]) # (batch, sequence)
|