Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 625f22d

Browse files
prettier
1 parent 2e9ccc7 commit 625f22d

File tree

16 files changed

+68
-39
lines changed

16 files changed

+68
-39
lines changed

‎components/recent.tsx‎

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,30 @@ export default function Usuarios() {
131131
</div>
132132

133133
<div className="flex justify-center py-4 text-slate-400 space-x-3">
134-
<a className="hover:text-slate-600" href="https://homepage-appsplosion.herokuapp.com/">Appsplosion</a>
135-
<a className="hover:text-slate-600" href="https://homepage-appsplosion.herokuapp.com/privacypolicy">Contact</a>
136-
<a className="hover:text-slate-600" href="https://homepage-appsplosion.herokuapp.com/privacypolicy">Privacy Policy</a>
137-
<a className="hover:text-slate-600" href="https://github.com/ezzcodeezzlife/programming-helper.com">GitHub</a>
134+
<a
135+
className="hover:text-slate-600"
136+
href="https://homepage-appsplosion.herokuapp.com/"
137+
>
138+
Appsplosion
139+
</a>
140+
<a
141+
className="hover:text-slate-600"
142+
href="https://homepage-appsplosion.herokuapp.com/privacypolicy"
143+
>
144+
Contact
145+
</a>
146+
<a
147+
className="hover:text-slate-600"
148+
href="https://homepage-appsplosion.herokuapp.com/privacypolicy"
149+
>
150+
Privacy Policy
151+
</a>
152+
<a
153+
className="hover:text-slate-600"
154+
href="https://github.com/ezzcodeezzlife/programming-helper.com"
155+
>
156+
GitHub
157+
</a>
138158
</div>
139159
</>
140160
)

‎components/recentSingle.tsx‎

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,31 @@ export default function Usuarios() {
8181
</div>
8282

8383
<div className="flex justify-center py-4 text-slate-400 space-x-3">
84-
<a className="hover:text-slate-600" href="https://homepage-appsplosion.herokuapp.com/">Appsplosion</a>
85-
<a className="hover:text-slate-600" href="https://homepage-appsplosion.herokuapp.com/privacypolicy">Contact</a>
86-
<a className="hover:text-slate-600" href="https://homepage-appsplosion.herokuapp.com/privacypolicy">Privacy Policy</a>
87-
<a className="hover:text-slate-600" href="https://github.com/ezzcodeezzlife/programming-helper.com">GitHub</a>
84+
<a
85+
className="hover:text-slate-600"
86+
href="https://homepage-appsplosion.herokuapp.com/"
87+
>
88+
Appsplosion
89+
</a>
90+
<a
91+
className="hover:text-slate-600"
92+
href="https://homepage-appsplosion.herokuapp.com/privacypolicy"
93+
>
94+
Contact
95+
</a>
96+
<a
97+
className="hover:text-slate-600"
98+
href="https://homepage-appsplosion.herokuapp.com/privacypolicy"
99+
>
100+
Privacy Policy
101+
</a>
102+
<a
103+
className="hover:text-slate-600"
104+
href="https://github.com/ezzcodeezzlife/programming-helper.com"
105+
>
106+
GitHub
107+
</a>
88108
</div>
89-
90109
</>
91110
)
92111
}

‎pages/_app.tsx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ const App = ({ Component, pageProps }: AppProps) => {
8585
<SessionProvider session={pageProps.session} refetchInterval={0}>
8686
<Component {...pageProps} />
8787
</SessionProvider>
88-
89-
9088
</>
9189
)
9290
}

‎pages/api/examples/chat.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
3737
const parsed = JSON.parse(req.body)
3838

3939
openai
40-
.createCompletion({
40+
.createCompletion({
4141
model: "content-filter-alpha",
4242
//text-davinci-002,
4343
prompt: "<|endoftext|>" + parsed.input + "\n--\nLabel:",

‎pages/api/examples/chatelaborate.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
3737
const parsed = JSON.parse(req.body)
3838

3939
openai
40-
.createCompletion({
40+
.createCompletion({
4141
model: "content-filter-alpha",
4242
prompt: "<|endoftext|>" + parsed.input + "\n--\nLabel:",
4343
temperature: 0,
@@ -54,7 +54,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
5454

5555
// add sending user id to the request
5656
openai
57-
.createCompletion({
57+
.createCompletion({
5858
model: "text-davinci-002",
5959
prompt:
6060
"kindly elaborate on this topic in the context of computer programming. \n\n\n\n Q: " +

‎pages/api/examples/code-to-explanation.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
3737
const { user } = session
3838

3939
openai
40-
.createCompletion({
40+
.createCompletion({
4141
model: "content-filter-alpha",
4242
//text-davinci-002,
4343
prompt: "<|endoftext|>" + req.body.textup + "\n--\nLabel:",
@@ -55,7 +55,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
5555

5656
// add sending user id to the request
5757
openai
58-
.createCompletion({
58+
.createCompletion({
5959
model: "text-davinci-002",
6060
//text-davinci-002,
6161
prompt:

‎pages/api/examples/css.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
7676
.createCompletion({
7777
model: "code-davinci-002",
7878
prompt:
79-
"CSS that implements the following description:" +
79+
"CSS that implements the following description:" +
8080
req.body.textup +
8181
" \n\n Start of CSS: <style>",
8282
suffix: "</style> End of CSS.",

‎pages/api/examples/git.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
7575
openai
7676
.createCompletion({
7777
model: "code-davinci-002",
78-
prompt:
79-
"Git command for: " +
80-
req.body.textup +
81-
" \n\n",
78+
prompt: "Git command for: " + req.body.textup + " \n\n",
8279
suffix: "\n",
8380
temperature: 0.5,
8481
max_tokens: 250,

‎pages/api/examples/invalidcode.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
7979
"Fix all problems, typos in the code:\n\n" +
8080
req.body.textup +
8181
"\n\n Start of fixed code:\n",
82-
suffix: "\ End of fixed code.",
82+
suffix: " End of fixed code.",
8383
temperature: 0.9,
8484
max_tokens: 250,
8585
top_p: 1,

‎pages/api/examples/linux.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
7575
openai
7676
.createCompletion({
7777
model: "code-davinci-002",
78-
prompt:
79-
"Linux Bash command for: " +
80-
req.body.textup +
81-
" \n\n",
78+
prompt: "Linux Bash command for: " + req.body.textup + " \n\n",
8279
suffix: "\n",
8380
temperature: 0.5,
8481
max_tokens: 250,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /