The user settings are now stored in BrowserState, so the data survives restarting the server, and survives reloading the page.
b14ca77
Simon Strandgaardcommited on
comments
2ac4e20
Simon Strandgaardcommited on
Experiments storing multiple settings in BrowserState
b69e7a3
Simon Strandgaardcommited on
comment
f051fa2
Simon Strandgaardcommited on
Triggering a build again
5187d94
Simon Strandgaardcommited on
please build again
f34eb74
Simon Strandgaardcommited on
I think the state is now being across server restart
3af7479
Simon Strandgaardcommited on
multi user experiment using BrowserState
08d4036
Simon Strandgaardcommited on
print_gradio_info() added
2ea8a4a
Simon Strandgaardcommited on
multi user experiment using BrowserState
9dce94e
Simon Strandgaardcommited on
multi user experiment
f6e1a1e
Simon Strandgaardcommited on
show error message if the user hasn't provided any openrouter_api_key
a375e12
Simon Strandgaardcommited on
The top header is now hidden on Hugging Face Spaces
61db3dc
Simon Strandgaardcommited on
hide/show the openrouter api key textbox depending on the config
ea9b4a7
Simon Strandgaardcommited on
Merged in commit 27410427fe779d1ff0d8f3ca4301c28074b6ac6d
d7b6667
Simon Strandgaardcommited on
enable logging
554a24e
Simon Strandgaardcommited on
Print stats after a purge
9b6304b
Simon Strandgaardcommited on
Purge old data hourly.
c434d74
Simon Strandgaardcommited on
generate_run_id() now prefixes the string with PlanExe_
19654e9
Simon Strandgaardcommited on
purge_old_runs() now also deletes files+dirs. Previously it was only dirs that could be purged.
bb28e75
Simon Strandgaardcommited on
purge_old_runs() now takes a prefix parameter, to be more certain that the data being deleted, really are intended to be deleted.
977ad93
Simon Strandgaardcommited on
start_purge_scheduler() added
7247691
Simon Strandgaardcommited on
Moved hardcoded text to constant
3d88dc7
Simon Strandgaardcommited on
purge_old_runs() added
e49f146
Simon Strandgaardcommited on
Only show openrouter models on huggingface spaces
bd55e57
Simon Strandgaardcommited on
Use 2 different configurations depending on if the app runs on localhost or on huggingface spaces
ff3a23b
Simon Strandgaardcommited on
Extracted is_huggingface_spaces() function
a145e10
Simon Strandgaardcommited on
Merge branch 'user-api-key'
459ddcb
Simon Strandgaardcommited on
IS_HUGGINGFACE_SPACES env for determining if the app runs on huggingface or not
0e11928
Simon Strandgaardcommited on
Send app name to OpenRouter
a250316
Simon Strandgaardcommited on
SessionState now remembers the settings. There is now a textfield for the user's own OpenRouter api key
ceb7ac2
Simon Strandgaardcommited on
Changes from PlanExe repo
437ee94
Simon Strandgaardcommited on
create_zip_archive() extracted
0f07150
Simon Strandgaardcommited on
generate_run_id() added
ec06ad9
Simon Strandgaardcommited on
Readded returncode printing
7492910
Simon Strandgaardcommited on
o3mini-high helped: Migrated from using global variables to using gradio's State class, to allow for multiple simulaneous users on Hugging Face Spaces.
b243f89
Simon Strandgaardcommited on
Download output as a zip file
5e8aef1
Simon Strandgaardcommited on
Invoking app.py now opens the app_text2plan gradio UI