Closed zeke closed 1 year ago
@zeke , the input()
function I call opens a modal with a text input, so users would have to intentionally alter the code and add their API key.
Do you think that sufficiently mitigates your concern?
Sorry I misread your code. That's even more elegant!
You can do something like this to keep users from pasting their API key into a notebook and possibly accidentally exposing it:
cc @joehoover
Found this technique via @cbh123's Replicate notebook