Spaces:
Build error
Build error
MrFeelgoood
commited on
Commit
•
afe2042
1
Parent(s):
cae91d6
Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ def pdf_ocr(file, model_t, question):
|
|
238 |
total_output = f'{extracted_values[0][1]} Mq'
|
239 |
text_output = extracted_values[2]
|
240 |
|
241 |
-
immobile_values = [f'{i + 1}. Immobile : {value} Mq\n' for i, value in enumerate(
|
242 |
immobile_values = '\n'.join(immobile_values)
|
243 |
|
244 |
return immobile_values, total_output, text_output
|
|
|
238 |
total_output = f'{extracted_values[0][1]} Mq'
|
239 |
text_output = extracted_values[2]
|
240 |
|
241 |
+
immobile_values = [f'{i + 1}. Immobile : {value} Mq\n' for i, value in enumerate(sor_values)]
|
242 |
immobile_values = '\n'.join(immobile_values)
|
243 |
|
244 |
return immobile_values, total_output, text_output
|