Spaces:
Runtime error
Runtime error
Fixing history on upload
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ def upload_grading_results(file, history):
|
|
199 |
# Copy the uploaded file from its temporary location to the desired location
|
200 |
shutil.copyfile(file.name, path)
|
201 |
grader_qa = CSVAgent(llm, embeddings, path)
|
202 |
-
history = [(None, 'Grading results uploaded successfully')]
|
203 |
return history
|
204 |
|
205 |
|
|
|
199 |
# Copy the uploaded file from its temporary location to the desired location
|
200 |
shutil.copyfile(file.name, path)
|
201 |
grader_qa = CSVAgent(llm, embeddings, path)
|
202 |
+
history = [(None, 'Grading results uploaded successfully. Start Chatting!')]
|
203 |
return history
|
204 |
|
205 |
|