Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,9 +48,9 @@ Your task is to analyze in depth the phenotype and effective prevention of {name
|
|
| 48 |
)
|
| 49 |
resp_text = chat_completion.choices[0].message.content.strip()
|
| 50 |
if output_language == "Chinese":
|
| 51 |
-
resp_text = "请注意:以下内容
|
| 52 |
else:
|
| 53 |
-
resp_text = "
|
| 54 |
|
| 55 |
# 在普通文本框不能用 "**" 渲染加粗,Markdown 才可以。因此,将输入字符串中所有的 "**" 替换为 ""。
|
| 56 |
# if "**" in resp_text:
|
|
|
|
| 48 |
)
|
| 49 |
resp_text = chat_completion.choices[0].message.content.strip()
|
| 50 |
if output_language == "Chinese":
|
| 51 |
+
resp_text = "请注意:以下内容通过提示工程驱动的 GPT-4 Turbo 生成\n" + resp_text
|
| 52 |
else:
|
| 53 |
+
resp_text = "Note: The following content is generated by the GPT-4 Turbo driven by Prompt Engineering\n" + resp_text
|
| 54 |
|
| 55 |
# 在普通文本框不能用 "**" 渲染加粗,Markdown 才可以。因此,将输入字符串中所有的 "**" 替换为 ""。
|
| 56 |
# if "**" in resp_text:
|