Spaces:
Runtime error
Runtime error
ChenYu Tsai
commited on
Commit
·
9ef3a1d
1
Parent(s):
ea129da
Modify bot exmaples
Browse files- app.py +1 -1
- 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"
|
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 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
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
|
|
|
|