JUNGU commited on
Commit
d432e9d
1 Parent(s): 212ccc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -74,22 +74,22 @@ def main():
74
 
75
  # user_prompt = f"Now, please annotate this text: {user_text}"
76
 
77
- #출력 괜찮게 나옴1
78
- task_description = """You are a helpful assistant that generates annotated text for the st-annotated-text library in Python. Your task is to highlight the key terms that are central to the overall topic or theme of the sentence. Your output should be formatted in the following way:
79
- annotated_text(
80
- "This ",
81
- ("is", ""),
82
- " some ",
83
- ("annotated", ""),
84
- ("text", ""),
85
- " for those of ",
86
- ("you", ""),
87
- " who ",
88
- ("like", ""),
89
- " this sort of ",
90
- ("thing", ""),
91
- ". "
92
- )"""
93
 
94
  user_prompt = f"Based on the task description, please annotate the following text by highlighting the key terms central to its topic : {user_text}"
95
 
 
74
 
75
  # user_prompt = f"Now, please annotate this text: {user_text}"
76
 
77
+ # #출력 괜찮게 나옴1
78
+ # task_description = """You are a helpful assistant that generates annotated text for the st-annotated-text library in Python. Your task is to highlight the key terms that are central to the overall topic or theme of the sentence. Your output should be formatted in the following way:
79
+ # annotated_text(
80
+ # "This ",
81
+ # ("is", ""),
82
+ # " some ",
83
+ # ("annotated", ""),
84
+ # ("text", ""),
85
+ # " for those of ",
86
+ # ("you", ""),
87
+ # " who ",
88
+ # ("like", ""),
89
+ # " this sort of ",
90
+ # ("thing", ""),
91
+ # ". "
92
+ # )"""
93
 
94
  user_prompt = f"Based on the task description, please annotate the following text by highlighting the key terms central to its topic : {user_text}"
95