Spaces:
Runtime error
Runtime error
Update fncs/chatb.py
Browse files- fncs/chatb.py +1 -1
fncs/chatb.py
CHANGED
|
@@ -54,7 +54,7 @@ def process_query(csv_path, query, api_key=None, endpoint=None, chat_model='meta
|
|
| 54 |
|
| 55 |
# Initialize OpenAI client and tokenizer
|
| 56 |
groq_client = create_groq_client(api_key= api_key)
|
| 57 |
-
tokenizer = tiktoken.encoding_for_model(chat_model)
|
| 58 |
|
| 59 |
# Load and prepare the dataset
|
| 60 |
df = pd.read_csv(csv_path)
|
|
|
|
| 54 |
|
| 55 |
# Initialize OpenAI client and tokenizer
|
| 56 |
groq_client = create_groq_client(api_key= api_key)
|
| 57 |
+
#tokenizer = tiktoken.encoding_for_model(chat_model)
|
| 58 |
|
| 59 |
# Load and prepare the dataset
|
| 60 |
df = pd.read_csv(csv_path)
|