Spaces:
Sleeping
Sleeping
Update excel_chat.py
Browse files- excel_chat.py +2 -2
excel_chat.py
CHANGED
@@ -6,7 +6,7 @@ import pandas as pd
|
|
6 |
import numpy as np
|
7 |
from groq import Groq
|
8 |
import anthropic
|
9 |
-
from users_management import update_json#, users
|
10 |
|
11 |
users = ['maksG', 'Alma', 'YchK']
|
12 |
|
@@ -72,7 +72,7 @@ def filter_df(df, column_name, keywords):
|
|
72 |
return filtered_df
|
73 |
|
74 |
def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col, keywords, client, user):
|
75 |
-
update_json(user, prompt, keywords)
|
76 |
print(f'xlsxfile = {excel_file}')
|
77 |
df = pd.read_excel(excel_file)
|
78 |
df[dest_col] = ""
|
|
|
6 |
import numpy as np
|
7 |
from groq import Groq
|
8 |
import anthropic
|
9 |
+
#from users_management import update_json#, users
|
10 |
|
11 |
users = ['maksG', 'Alma', 'YchK']
|
12 |
|
|
|
72 |
return filtered_df
|
73 |
|
74 |
def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col, keywords, client, user):
|
75 |
+
#update_json(user, prompt, keywords)
|
76 |
print(f'xlsxfile = {excel_file}')
|
77 |
df = pd.read_excel(excel_file)
|
78 |
df[dest_col] = ""
|