MrFeelgoood commited on
Commit
4b491a9
1 Parent(s): 4f784ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -243,7 +243,7 @@ def pdf_ocr(file):
243
  # Call extractor_clean and format_output functions
244
  ks = ('mq', 'metri quadri', 'm2')
245
  tra = 'it5/it5-base-question-answering'
246
- quest = "Quanti metri quadri misura la superficie?"
247
  totalK = ['totale', 'complessivo', 'complessiva']
248
 
249
  extracted_values = extractor_clean(text=text, k_words=ks, transformer=tra, question=quest, total_kwords=totalK, return_text=True)
 
243
  # Call extractor_clean and format_output functions
244
  ks = ('mq', 'metri quadri', 'm2')
245
  tra = 'it5/it5-base-question-answering'
246
+ quest = "Quanti metri quadri misura l'immobile?"
247
  totalK = ['totale', 'complessivo', 'complessiva']
248
 
249
  extracted_values = extractor_clean(text=text, k_words=ks, transformer=tra, question=quest, total_kwords=totalK, return_text=True)