MCPcopy Index your code

hub / github.com/TheAhmadOsman/4o-ghibli-at-home / functions

Functions44 in github.com/TheAhmadOsman/4o-ghibli-at-home

↓ 18 callersFunctionshowToast
(message, isSuccess = false)
static/script.js:433
↓ 5 callersFunctionupdateHistoryButtons
()
static/script.js:452
↓ 4 callersFunctiongetCurrentSettings
()
static/script.js:60
↓ 4 callersFunctionsetActiveProfileButton
(activeProfile)
static/script.js:475
↓ 3 callersFunctionmaybeAdjustResolution
()
static/script.js:114
↓ 3 callersFunctionpopulateCustomProfiles
()
static/script.js:190
↓ 3 callersFunctionsetupOptional
(baseKey, inputEl, checkboxEl)
static/script.js:80
↓ 3 callersFunctionsetupOptionalField
(checkbox, input)
static/script.js:479
↓ 3 callersFunctionsyncSliderAndNumber
(slider, number, valueLabel)
static/script.js:594
↓ 3 callersFunctionupdateControlsUI
(settings)
static/script.js:78
↓ 2 callersFunctionareSettingsEqual
(obj1, obj2)
static/script.js:112
↓ 2 callersFunctionhandleFileUpload
(file)
static/script.js:262
↓ 2 callersFunctionloadSettings
(profileKey = 'default')
static/script.js:121
↓ 2 callersFunctionpollForJobCompletion
(jobId)
static/script.js:328
↓ 2 callersFunctionshowButtonFeedback
(button, message = "Saved!", duration = 2000)
static/script.js:442
↓ 2 callersFunctionupdateSourceImageFromHistory
()
static/script.js:398
↓ 1 callersFunctionbuildStyleProfilesAccordion
(categories)
static/script.js:497
↓ 1 callersFunctioncheckForExistingJob
()
static/script.js:485
↓ 1 callersFunctionfetchAndDisplayResult
(jobId)
static/script.js:371
↓ 1 callersFunctioninitializeApp
()
static/script.js:531
↓ 1 callersFunctionis_allowed_file
Checks if the uploaded file has an allowed extension.
app.py:191
↓ 1 callersFunctionparse_request_args
Parses and validates all incoming request parameters. Returns a dictionary of validated arguments or raises ValueError.
app.py:199
FunctionapplyEdits
()
static/script.js:284
FunctiondeleteCustomProfile
()
static/script.js:232
FunctiondownloadImage
()
static/script.js:420
Methodemit
(self, record)
app.py:45
Functiongenerate_image_endpoint
Accepts image generation requests, adds them to a queue, and returns a job ID for status polling.
app.py:395
Functionget_config
Provides frontend configuration, including the dynamic API base URL.
app.py:385
Functionget_result
Serves the generated image if the job is complete.
app.py:466
Functionget_status
Provides the status of a specific job.
app.py:439
Functionimage_generation_worker
The worker function that runs in a background thread. It continuously pulls jobs from the queue and processes them.
app.py:297
Functionindex
()
app.py:553
Functioninternal_server_error
(error)
app.py:521
Functionjob_cleanup_worker
Periodically cleans up old, completed jobs to free up memory and disk space.
app.py:257
FunctionloadCustomProfile
()
static/script.js:220
Functionmethod_not_allowed_error
(error)
app.py:501
Functionnot_found_error
(error)
app.py:491
Functionpayload_too_large_error
(error)
app.py:511
Functionredo
()
static/script.js:466
FunctionresetToAppDefaults
()
static/script.js:181
FunctionresetUploadUI
()
static/script.js:248
FunctionsaveCustomProfile
()
static/script.js:201
FunctionsaveDefaults
()
static/script.js:164
Functionundo
()
static/script.js:457