Update app.py
Browse files
app.py
CHANGED
|
@@ -27,11 +27,11 @@ def generate_clinical_query_solution(text0, text1,text2, text3, text4):
|
|
| 27 |
|
| 28 |
if text3 != "": #自由記載の相談があればそちらを優先する
|
| 29 |
text2 = text3
|
| 30 |
-
elif text2 == "仮説形成":
|
| 31 |
text2 = req1
|
| 32 |
-
elif text2 == "研究デザイン":
|
| 33 |
text2 = req2
|
| 34 |
-
elif text2 == "研究計画書":
|
| 35 |
text2 = req3
|
| 36 |
|
| 37 |
query = f'''あなたは臨床研究の専門家です。以下の臨床疑問や記述について、{text2}。必ず{text4}でお答えください。Please think step by step.;
|
|
|
|
| 27 |
|
| 28 |
if text3 != "": #自由記載の相談があればそちらを優先する
|
| 29 |
text2 = text3
|
| 30 |
+
elif text2 == "Hypothesis generation 仮説形成":
|
| 31 |
text2 = req1
|
| 32 |
+
elif text2 == "Study design 研究デザイン":
|
| 33 |
text2 = req2
|
| 34 |
+
elif text2 == "Protocol draft 研究計画書":
|
| 35 |
text2 = req3
|
| 36 |
|
| 37 |
query = f'''あなたは臨床研究の専門家です。以下の臨床疑問や記述について、{text2}。必ず{text4}でお答えください。Please think step by step.;
|