Spaces:
Sleeping
Sleeping
nei10u
commited on
Commit
·
c8255da
1
Parent(s):
16bc21e
modify prompt
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def predict_step(cohere_key, img, style):
|
|
27 |
# 条件:严格按照要求完成任务,输出内容直接为主体内容,输出内容前后不要有其他符号,注意语句保持通顺,输出内容全部是中文," \ " 不要重复输出内容, 不需要换行,不需要有标题,不需要排版格式。" \ "\n "\n2. Give the
|
28 |
# final output content an evaluation score as required. The score range is 0-100, 0 is the worst, 100 is the best,
|
29 |
# and the score should be objective. The format is [score:xxx]. Add at the end." \
|
30 |
-
question = "Requirements: \nYou are a writing master. According to the content: {}, write a
|
31 |
"form, by the style of \"{}\" as the final output content. " \
|
32 |
"\nfinal output content:" \
|
33 |
.format(preds[0], style)
|
|
|
27 |
# 条件:严格按照要求完成任务,输出内容直接为主体内容,输出内容前后不要有其他符号,注意语句保持通顺,输出内容全部是中文," \ " 不要重复输出内容, 不需要换行,不需要有标题,不需要排版格式。" \ "\n "\n2. Give the
|
28 |
# final output content an evaluation score as required. The score range is 0-100, 0 is the worst, 100 is the best,
|
29 |
# and the score should be objective. The format is [score:xxx]. Add at the end." \
|
30 |
+
question = "Requirements: \nYou are a writing master. According to the content: {}, write a 200 words essay in any " \
|
31 |
"form, by the style of \"{}\" as the final output content. " \
|
32 |
"\nfinal output content:" \
|
33 |
.format(preds[0], style)
|