Update app.py
Browse files
app.py
CHANGED
@@ -292,7 +292,8 @@ import uuid
|
|
292 |
image = answer
|
293 |
except:
|
294 |
image = None
|
295 |
-
|
|
|
296 |
ds = ds.add_item({"prompt": prompt, "code": code, "answer": answer, "error": error, "model": model_name, "image": image})
|
297 |
ds.push_to_hub("SustainabilityLabIITGN/VayuBuddy_logs", split=current_split, token=hf_token)
|
298 |
|
|
|
292 |
image = answer
|
293 |
except:
|
294 |
image = None
|
295 |
+
|
296 |
+
ds = load_dataset("SustainabilityLabIITGN/VayuBuddy_logs", token=hf_token, split=current_split)
|
297 |
ds = ds.add_item({"prompt": prompt, "code": code, "answer": answer, "error": error, "model": model_name, "image": image})
|
298 |
ds.push_to_hub("SustainabilityLabIITGN/VayuBuddy_logs", split=current_split, token=hf_token)
|
299 |
|