nbaldwin commited on
Commit
179b136
·
1 Parent(s): 9b0c91a

minor edits in run.py

Browse files
Files changed (1) hide show
  1. run.py +5 -3
run.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import os
2
 
3
  import hydra
@@ -79,8 +81,8 @@ if __name__ == "__main__":
79
  )
80
 
81
  #6. ~~~ Get the data ~~~
82
- data = {"id": 0} # This can be a list of samples
83
- # data = {"id": 0, "question": "Who was the NBA champion in 2023?"} # This can be a list of samples
84
 
85
  #option1: use the FlowMessage class
86
  input_message = FlowMessage(
@@ -110,5 +112,5 @@ if __name__ == "__main__":
110
 
111
 
112
  #9. ~~~~~Optional: Unserve Flow~~~~~~
113
- # serve_utils.delete_served_flow(cl, "ChatWithDemonstrationFlowModule")
114
 
 
1
+ """A simple script to run a Flow that can be used for development and debugging."""
2
+
3
  import os
4
 
5
  import hydra
 
81
  )
82
 
83
  #6. ~~~ Get the data ~~~
84
+ data = {"id": 0}
85
+
86
 
87
  #option1: use the FlowMessage class
88
  input_message = FlowMessage(
 
112
 
113
 
114
  #9. ~~~~~Optional: Unserve Flow~~~~~~
115
+ # serve_utils.delete_served_flow(cl, "FlowModule")
116