nttwt1597 commited on
Commit
8850113
·
verified ·
1 Parent(s): 400a2ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -483,8 +483,8 @@ with gr.Blocks() as demo:
483
 
484
  #Flagging
485
  token_w = os.environ['token_w']
486
- hf_writer = gr.HuggingFaceDatasetSaver(hf_token=token_w, dataset_name="ravistech/feedback-demo-test", private=True)
487
- hf_writer.setup([selected_response, study_obj_box, study_type_box, phase_box, purpose_box, allocation_box, intervention_model_box, masking_box, conditions_box, intervention_box, location_box, removed_location_box, top_k_box, base_box, rag_box, combine_box],"ravistech/feedback-demo-test")
488
 
489
  flag_button.click(lambda *args: callback.flag(list(args)), [selected_response, study_obj_box, study_type_box, phase_box, purpose_box, allocation_box, intervention_model_box, masking_box, conditions_box, intervention_box, location_box, removed_location_box, top_k_box, base_box, rag_box, combine_box], None, preprocess=False)
490
 
 
483
 
484
  #Flagging
485
  token_w = os.environ['token_w']
486
+ hf_writer = gr.HuggingFaceDatasetSaver(hf_token=token_w, dataset_name="ravistech/feedback-demo", private=True)
487
+ hf_writer.setup([selected_response, study_obj_box, study_type_box, phase_box, purpose_box, allocation_box, intervention_model_box, masking_box, conditions_box, intervention_box, location_box, removed_location_box, top_k_box, base_box, rag_box, combine_box],"ravistech/feedback-demo")
488
 
489
  flag_button.click(lambda *args: callback.flag(list(args)), [selected_response, study_obj_box, study_type_box, phase_box, purpose_box, allocation_box, intervention_model_box, masking_box, conditions_box, intervention_box, location_box, removed_location_box, top_k_box, base_box, rag_box, combine_box], None, preprocess=False)
490