Public Session Token?

#2
by radames - opened

I see you were did use Secrets to load the Session Token key, but there's still an exposed one there

https://huggingface.co/spaces/Xhaheen/ChatGPT_HF/blob/main/app.py#L18-L19

Public token is too big to add as secrets

This comment has been hidden

great finding, I'll check what's the limit, maybe you could split it if you need to keep it private

hi @Xhaheen I tested the Secrets with your long string got no issues. What was the issue when you tried to set this Secret?

I am editing everything from phone i have updated code, kindly have look once

its working like charm now , thanks for updaating

Xhaheen changed discussion status to closed

Sign up or log in to comment