Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,9 +13,8 @@ from langchain_google_genai import ChatGoogleGenerativeAI
|
|
13 |
# Initialize persistent client
|
14 |
CHROMA_PATH = "./vectordb-chroma/gformdb"
|
15 |
os.makedirs(CHROMA_PATH, exist_ok=True)
|
16 |
-
default_user_aspek = "Jika Jawaban salah berikan nilai 0, jika jawaban benar namun tidak tepat berikan nilai 50, jika jawaban benar dan lengkap serta penjelasan baik, beri nilai 100"
|
17 |
|
18 |
-
def process_files(csv_file, gemini_key, user_aspek
|
19 |
try:
|
20 |
context = ""
|
21 |
|
|
|
13 |
# Initialize persistent client
|
14 |
CHROMA_PATH = "./vectordb-chroma/gformdb"
|
15 |
os.makedirs(CHROMA_PATH, exist_ok=True)
|
|
|
16 |
|
17 |
+
def process_files(csv_file, gemini_key, user_aspek, pdf_file, model):
|
18 |
try:
|
19 |
context = ""
|
20 |
|