lppr12 / Baby-GPT

A web app having a chatbot.
https://baby-gpt-ivory.vercel.app
0 stars 3 forks source link

Response box #3

Open lppr12 opened 1 year ago

lppr12 commented 1 year ago

The response by the bot is not being displayed properly. It has large spaces between consecutive lines. Try fixing it. :)

vizzy1o1 commented 1 year ago

by "large spaces" do you mean this shaded portion? issue1

lppr12 commented 1 year ago

Yeah. You see the response box appends the string returned by the bot and it has lot of \n that causes the extra spaces. You can either solve js code or by tampering with the html and removing extra divs. :)

On Mon, 10 Apr, 2023, 12:06 pm Vijay rao, @.***> wrote:

by "large spaces" do you mean this shaded portion? [image: issue1] https://user-images.githubusercontent.com/79411320/230842118-b1308028-cc15-4631-8598-8c5c0fe95bb0.png

— Reply to this email directly, view it on GitHub https://github.com/lppr12/Baby-GPT/issues/3#issuecomment-1501457978, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2UCGUSMBTVU7L6CR23H7GTXAOTAFANCNFSM6AAAAAAWYAZOCA . You are receiving this because you authored the thread.Message ID: @.***>

vizzy1o1 commented 1 year ago

on it! will let you know once I figure it out

lppr12 commented 1 year ago

Sure 🙂

On Mon, 10 Apr, 2023, 12:41 pm Vijay rao, @.***> wrote:

on it! will let you know once I figure it out

— Reply to this email directly, view it on GitHub https://github.com/lppr12/Baby-GPT/issues/3#issuecomment-1501485691, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2UCGUT4TWVMR7R7GQHQPVTXAOXB5ANCNFSM6AAAAAAWYAZOCA . You are receiving this because you authored the thread.Message ID: @.***>

vizzy1o1 commented 1 year ago

hey! check this out, is it satisfactory?

image

lppr12 commented 1 year ago

hey! check this out, is it satisfactory?

image

Can you ask it to write a small code. I want to see how it indents it.

vizzy1o1 commented 1 year ago

sure

vizzy1o1 commented 1 year ago

here image

lppr12 commented 1 year ago

here image

See those spaces after line break, if you can decrease those a bit it will be perfect. :)

vizzy1o1 commented 1 year ago

See those spaces after line break, if you can decrease those a bit it will be perfect. :)

I see! will hit you up once I'm done

vizzy1o1 commented 1 year ago

this is the result being generated by the bot : indent before

and this is the result after the page is refreshed (no other manipulation): indent after

vizzy1o1 commented 1 year ago

texted you on baby gpt channel on hackodex's discord! look it up