Zeel commited on
Commit
42617a2
·
verified ·
1 Parent(s): a33d4cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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