m-ric HF staff commited on
Commit
59fc259
·
verified ·
1 Parent(s): 54e5650

Update examples.py

Browse files
Files changed (1) hide show
  1. examples.py +6 -10
examples.py CHANGED
@@ -1,5 +1,3 @@
1
- import pandas as pd
2
-
3
  description_sf = "A one-day walk through San Francisco for my first visit. I want to take no cab or bike, everything should be on foot."
4
  output_example_sf = """
5
  Since this is on foot, walking distances should be kept to a minimum. I'll make sure to provide a step by step visit and reorder points of interest to minimize the walking distance between each point.
@@ -79,11 +77,9 @@ Key points: [
79
  ]
80
  """
81
 
82
- df_examples = pd.DataFrame.from_dict(
83
- [
84
- {"description": description_loire, "output": output_example_loire},
85
- {"description": description_aligned, "output": output_example_aligned},
86
- {"description": description_chinatown, "output": output_example_chinatown},
87
- {"description": description_taiwan, "output": output_example_taiwan},
88
- ]
89
- )
 
 
 
1
  description_sf = "A one-day walk through San Francisco for my first visit. I want to take no cab or bike, everything should be on foot."
2
  output_example_sf = """
3
  Since this is on foot, walking distances should be kept to a minimum. I'll make sure to provide a step by step visit and reorder points of interest to minimize the walking distance between each point.
 
77
  ]
78
  """
79
 
80
+ list_examples = [
81
+ {"description": description_loire, "output": output_example_loire},
82
+ {"description": description_aligned, "output": output_example_aligned},
83
+ {"description": description_chinatown, "output": output_example_chinatown},
84
+ {"description": description_taiwan, "output": output_example_taiwan},
85
+ ]