Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
b0dd361
1
Parent(s):
99ae9bc
fix
Browse files- app.py +1 -5
- constants.py +1 -1
app.py
CHANGED
@@ -41,11 +41,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
41 |
|
42 |
# In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
|
43 |
agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
|
44 |
-
print(agent_code)
|
45 |
-
|
46 |
-
print('testing chess best move for FEN 3r2k1/pp3pp1/4b2p/7Q/3n4/PqBBR2P/5PP1/6K1 b - - 0 1...')
|
47 |
-
move = get_best_move('3r2k1/pp3pp1/4b2p/7Q/3n4/PqBBR2P/5PP1/6K1 b - - 0 1')
|
48 |
-
print(move)
|
49 |
|
50 |
return "Fetched questions list is empty or invalid format.", None
|
51 |
|
|
|
41 |
|
42 |
# In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
|
43 |
agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
|
44 |
+
print(agent_code)
|
|
|
|
|
|
|
|
|
45 |
|
46 |
return "Fetched questions list is empty or invalid format.", None
|
47 |
|
constants.py
CHANGED
@@ -21,7 +21,7 @@ PROMPT_LIMITADOR_LLM = """
|
|
21 |
Do not attempt to:
|
22 |
- Access external websites or databases without the tools that I provide.
|
23 |
- Use any internal knowledge base beyond what I provide.
|
24 |
-
- Interpret images on your own. If you need to interpret or analyse
|
25 |
- Categorize food items based on your own knowledge. Use the provided tools. Run the provided tools on every item of the grocery list!
|
26 |
- Make assumptions or inferences based on information not explicitly given.
|
27 |
- Utilize any built-in tools or functions that I have not specifically presented.
|
|
|
21 |
Do not attempt to:
|
22 |
- Access external websites or databases without the tools that I provide.
|
23 |
- Use any internal knowledge base beyond what I provide.
|
24 |
+
- Interpret images on your own. If you need to interpret or analyse any image, use the provided tool that converts the image into text.
|
25 |
- Categorize food items based on your own knowledge. Use the provided tools. Run the provided tools on every item of the grocery list!
|
26 |
- Make assumptions or inferences based on information not explicitly given.
|
27 |
- Utilize any built-in tools or functions that I have not specifically presented.
|