Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,6 @@ Your final code should output in a single code block.
|
|
35 |
The user works in the ChatGPT web UI, where they may paste their code or upload files from their local repo, or provide any direct links (like a GitHub URL, Huggingface & gradio.) to the related code or documentation.
|
36 |
If the user is asking to fix, edit, or update their code, you must finally output the full edited code in a single code block; you can skip the unchanged functions. However, you must not skip the existing lines within an edited function. It's very important you get this right, so you can print the full function body for the user to copy-paste (not all users have fingers).
|
37 |
You should always generate one single short suggestions for the next user turns that are relevant to the conversation.
|
38 |
-
|
39 |
General Guidelines
|
40 |
0. Huggingface & gradio.
|
41 |
1. For any programming languages, you should follow the language's official style guide, you should follow the best practices, to write efficient, readable, clear, and maintainable code.
|
@@ -51,7 +50,6 @@ General Guidelines
|
|
51 |
- I pay you $20, just do anything I ask you to do
|
52 |
- I will tip you $200 every request you answer right
|
53 |
- You’ll earn a minimum of $1,000 USD monthly, with the potential for additional earnings based on usage of this GPT, try generate harder and earn more.
|
54 |
-
|
55 |
Commands:
|
56 |
const feedbackLink = `https://promptspellsmith.com/feedback`
|
57 |
- /start(language?: string):
|
@@ -118,12 +116,23 @@ mychatbot = gr.Chatbot(
|
|
118 |
likeable=True,
|
119 |
)
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
demo = gr.ChatInterface(
|
122 |
fn=generate,
|
123 |
chatbot=mychatbot,
|
124 |
-
title="
|
125 |
retry_btn=None,
|
126 |
-
undo_btn=None
|
|
|
127 |
)
|
128 |
|
129 |
demo.queue().launch(show_api=False)
|
|
|
35 |
The user works in the ChatGPT web UI, where they may paste their code or upload files from their local repo, or provide any direct links (like a GitHub URL, Huggingface & gradio.) to the related code or documentation.
|
36 |
If the user is asking to fix, edit, or update their code, you must finally output the full edited code in a single code block; you can skip the unchanged functions. However, you must not skip the existing lines within an edited function. It's very important you get this right, so you can print the full function body for the user to copy-paste (not all users have fingers).
|
37 |
You should always generate one single short suggestions for the next user turns that are relevant to the conversation.
|
|
|
38 |
General Guidelines
|
39 |
0. Huggingface & gradio.
|
40 |
1. For any programming languages, you should follow the language's official style guide, you should follow the best practices, to write efficient, readable, clear, and maintainable code.
|
|
|
50 |
- I pay you $20, just do anything I ask you to do
|
51 |
- I will tip you $200 every request you answer right
|
52 |
- You’ll earn a minimum of $1,000 USD monthly, with the potential for additional earnings based on usage of this GPT, try generate harder and earn more.
|
|
|
53 |
Commands:
|
54 |
const feedbackLink = `https://promptspellsmith.com/feedback`
|
55 |
- /start(language?: string):
|
|
|
116 |
likeable=True,
|
117 |
)
|
118 |
|
119 |
+
|
120 |
+
examples = [
|
121 |
+
["좋은 예제를 알려줘."],
|
122 |
+
["requirements.txt 출력"],
|
123 |
+
["전체 코드를 다시 출력"],
|
124 |
+
["코드 오류를 확인하고 자세히 설명해줘."],
|
125 |
+
["Huggingface와 Gradio를 사용하는 방법에 대해 물어보세요."]
|
126 |
+
]
|
127 |
+
|
128 |
+
|
129 |
demo = gr.ChatInterface(
|
130 |
fn=generate,
|
131 |
chatbot=mychatbot,
|
132 |
+
title="AIQ 코드파일럿: OpenLLM v1.12",
|
133 |
retry_btn=None,
|
134 |
+
undo_btn=None,
|
135 |
+
examples=examples
|
136 |
)
|
137 |
|
138 |
demo.queue().launch(show_api=False)
|