Update app.py
Browse files
app.py
CHANGED
|
@@ -42,10 +42,9 @@ if __name__ == "__main__":
|
|
| 42 |
If you need to create an access token, go to your HF profile page
|
| 43 |
On the left menu, go to the access token option, then the Create new token, on the top right
|
| 44 |
'''
|
| 45 |
-
str_Description = "A simple MCP-Client, Qwen2.5
|
| 46 |
" https://huggingface.co/spaces/AllIllusion/MCP-Server_TextSimilarity" \
|
| 47 |
-
" If you see 'Error', that's because my account has exceeded the monthly included credits for Inference Providers (Qwen2.5
|
| 48 |
-
" Change from default 32B to 3B, maybe less expensive :)"
|
| 49 |
|
| 50 |
def func_genSyntheticText_Similarity(str_RealText):
|
| 51 |
strTask_Message = f'''You are learning and practicing synthetic note writing. Your task is to generate synthetic notes, modeled on real note structure and content. You will learn from a pseudonymized note to guide your language, structure, and reasoning.
|
|
|
|
| 42 |
If you need to create an access token, go to your HF profile page
|
| 43 |
On the left menu, go to the access token option, then the Create new token, on the top right
|
| 44 |
'''
|
| 45 |
+
str_Description = "A simple MCP-Client, Qwen2.5 Agent calling MCP-Server_TextSimilarity as an MCP tool to Generate Synthetic Text with Similarity." \
|
| 46 |
" https://huggingface.co/spaces/AllIllusion/MCP-Server_TextSimilarity" \
|
| 47 |
+
" If you see 'Error', that's because my account has exceeded the monthly included credits for Inference Providers (Qwen2.5)."
|
|
|
|
| 48 |
|
| 49 |
def func_genSyntheticText_Similarity(str_RealText):
|
| 50 |
strTask_Message = f'''You are learning and practicing synthetic note writing. Your task is to generate synthetic notes, modeled on real note structure and content. You will learn from a pseudonymized note to guide your language, structure, and reasoning.
|