Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from transformers import pipeline
|
|
11 |
HF_API_TOKEN = os.getenv("HUGGINGFACE_API_TOKEN")
|
12 |
|
13 |
# Carregar o modelo DeepSeek Coder 1.3B
|
14 |
-
chatbot_pipeline = pipeline("text-generation", model="deepseek-ai/deepseek-coder-1.3b", token=HF_API_TOKEN)
|
15 |
|
16 |
def extract_files_from_folder(folder_path):
|
17 |
"""Scans a folder for PDF, TXT, CSV, DOCX, and IPYNB files."""
|
|
|
11 |
HF_API_TOKEN = os.getenv("HUGGINGFACE_API_TOKEN")
|
12 |
|
13 |
# Carregar o modelo DeepSeek Coder 1.3B
|
14 |
+
chatbot_pipeline = pipeline("text-generation", model="deepseek-ai/deepseek-coder-1.3b-instruct", token=HF_API_TOKEN)
|
15 |
|
16 |
def extract_files_from_folder(folder_path):
|
17 |
"""Scans a folder for PDF, TXT, CSV, DOCX, and IPYNB files."""
|