ChenYu Tsai commited on
Commit
9ef3a1d
1 Parent(s): ea129da

Modify bot exmaples

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. examples.csv +7 -9
app.py CHANGED
@@ -16,7 +16,7 @@ with open("final_result.json", 'r', encoding='UTF-8') as fp:
16
 
17
  def read_examples():
18
  df = pd.read_csv(r'examples.csv')
19
- return [f"我想了解有關於「{keyword}」的文件" for keyword in df['word'].tolist()]
20
 
21
  def user(message, history):
22
  #return gr.update(value="", interactive=False), history + [[message, None]]
 
16
 
17
  def read_examples():
18
  df = pd.read_csv(r'examples.csv')
19
+ return [f"{keyword}" for keyword in df['word'].tolist()]
20
 
21
  def user(message, history):
22
  #return gr.update(value="", interactive=False), history + [[message, None]]
examples.csv CHANGED
@@ -1,10 +1,8 @@
1
  word,count
2
- 包容性,3
3
- 同理心,2
4
- 自律,2
5
- 責任,2
6
- 行動計劃,2
7
- 勇氣,2
8
- 善良,2
9
- 誠信,2
10
- 霸凌行為,1
 
1
  word,count
2
+ _KTX CARES.Non-Negotiables.docx,0
3
+ 🄣 3.5小時 Getter Better Faster Rubric.pdf,0
4
+ 02 - IP.Internalization and Planning Mastery Rubric.docx,0
5
+ KTX Houst First 21 Days Rubric 2019 Final-2 (2).docx,0
6
+ KTX Rubric for Equity _ Excellence.pdf,0
7
+ Leading and Coaching through States of Being 1 pager and integration guides.pdf,0
8
+ SEAMS Tool.FINAL (1).pdf,0