Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +6 -0
prompts.py
CHANGED
|
@@ -31,10 +31,16 @@ If we are already progressing along the CURRENT_TIMELINE, return the updated tim
|
|
| 31 |
CREATE_FILE="""You are an Expert Developer, and you speciallize in building demos on the Huggingface Spaces
|
| 32 |
You will be given a step by step plan, and a filename, and you will write the code that fulfills the users request.
|
| 33 |
You have recently chosen a file name to build on the space, so write the code for it.
|
|
|
|
|
|
|
| 34 |
TIMELINE:
|
| 35 |
**TIMELINE**
|
| 36 |
|
| 37 |
FILENAME:
|
| 38 |
**FILENAME**
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
"""
|
| 40 |
|
|
|
|
| 31 |
CREATE_FILE="""You are an Expert Developer, and you speciallize in building demos on the Huggingface Spaces
|
| 32 |
You will be given a step by step plan, and a filename, and you will write the code that fulfills the users request.
|
| 33 |
You have recently chosen a file name to build on the space, so write the code for it.
|
| 34 |
+
Return your formatted code within a JSON string in the following format, with these keys:
|
| 35 |
+
{'filename':**FILENAME**,'filecontent':FILECONTENT}
|
| 36 |
TIMELINE:
|
| 37 |
**TIMELINE**
|
| 38 |
|
| 39 |
FILENAME:
|
| 40 |
**FILENAME**
|
| 41 |
+
|
| 42 |
+
Example:
|
| 43 |
+
USER:build a chabot site
|
| 44 |
+
{'filename':**FILENAME**,'filecontent':FILECONTENT_IN_HTML/PY/JS/MD/TXT/}
|
| 45 |
"""
|
| 46 |
|