Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from difflib import get_close_matches
|
|
5 |
import re # Importa o m贸dulo de express玫es regulares
|
6 |
import csv
|
7 |
import datetime
|
|
|
8 |
|
9 |
bens_df = pd.read_excel('bens_tab.xlsx')
|
10 |
print(bens_df)
|
@@ -68,11 +69,7 @@ def integrated_app(query, titulo, EC, PU):
|
|
68 |
|
69 |
df = refinar_resultados(df)
|
70 |
df_similares = filtrar_itens_similares(df, query)
|
71 |
-
|
72 |
-
with open("log/gradio_log.csv", mode='a', newline='', encoding='utf-8') as file:
|
73 |
-
writer = csv.writer(file)
|
74 |
-
writer.writerow([datetime.datetime.now(), query])
|
75 |
-
|
76 |
if df_similares.empty:
|
77 |
return "Nenhum item similar encontrado.", pd.DataFrame()
|
78 |
else:
|
|
|
5 |
import re # Importa o m贸dulo de express玫es regulares
|
6 |
import csv
|
7 |
import datetime
|
8 |
+
!git clone https://github.com/avalia-se/bens_moveis.git
|
9 |
|
10 |
bens_df = pd.read_excel('bens_tab.xlsx')
|
11 |
print(bens_df)
|
|
|
69 |
|
70 |
df = refinar_resultados(df)
|
71 |
df_similares = filtrar_itens_similares(df, query)
|
72 |
+
|
|
|
|
|
|
|
|
|
73 |
if df_similares.empty:
|
74 |
return "Nenhum item similar encontrado.", pd.DataFrame()
|
75 |
else:
|