Spaces:
Sleeping
Sleeping
seawolf2357
commited on
Commit
•
c83e206
1
Parent(s):
395dc8f
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ async def generate_response(message):
|
|
102 |
|
103 |
def search_in_dataset(query, dataset):
|
104 |
for record in dataset['train']:
|
105 |
-
if query in record['
|
106 |
return record['사건번호']
|
107 |
return "관련 법률 정보를 찾을 수 없습니다."
|
108 |
|
|
|
102 |
|
103 |
def search_in_dataset(query, dataset):
|
104 |
for record in dataset['train']:
|
105 |
+
if query in record['사건명']:
|
106 |
return record['사건번호']
|
107 |
return "관련 법률 정보를 찾을 수 없습니다."
|
108 |
|