Snapshot of PlanExe commit 773f9ca98123b5751e6b16be192818b572af1aa0
1bfe7f5
Simon Strandgaardcommited on
Snapshot of PlanExe commit d1eee4b3f276c3f079b95539dafb7f1f794abfa4
22a5c6c
Simon Strandgaardcommited on
Snapshot of PlanExe commit d87f74953d1699782df0d7e3bfad64b027ccf618
8628c58
Simon Strandgaardcommited on
BrowserState's secret is no longer hardcoded, but use the HUGGINGFACE_SPACES_BROWSERSTATE_SECRET env.
56f6df1
Simon Strandgaardcommited on
Prevent the user from clicking Submit/Retry, without an api key
5cdccba
Simon Strandgaardcommited on
Moved file
cdf59a1
Simon Strandgaardcommited on
The user settings are now stored in BrowserState, so the data survives restarting the server, and survives reloading the page.
b14ca77
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
enable logging
554a24e
Simon Strandgaardcommited on
Purge old data hourly.
c434d74
Simon Strandgaardcommited on
generate_run_id() now prefixes the string with PlanExe_
19654e9
Simon Strandgaardcommited on
Moved hardcoded text to constant
3d88dc7
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
SessionState now remembers the settings. There is now a textfield for the user's own OpenRouter api key
ceb7ac2
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