Code
Hub
Workspaces
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAhmadOsman/4o-ghibli-at-home
/ functions
Functions
44 in github.com/TheAhmadOsman/4o-ghibli-at-home
⨍
Functions
44
◇
Types & classes
2
↳
Endpoints
5
↓ 18 callers
Function
showToast
(message, isSuccess = false)
static/script.js:433
↓ 5 callers
Function
updateHistoryButtons
()
static/script.js:452
↓ 4 callers
Function
getCurrentSettings
()
static/script.js:60
↓ 4 callers
Function
setActiveProfileButton
(activeProfile)
static/script.js:475
↓ 3 callers
Function
maybeAdjustResolution
()
static/script.js:114
↓ 3 callers
Function
populateCustomProfiles
()
static/script.js:190
↓ 3 callers
Function
setupOptional
(baseKey, inputEl, checkboxEl)
static/script.js:80
↓ 3 callers
Function
setupOptionalField
(checkbox, input)
static/script.js:479
↓ 3 callers
Function
syncSliderAndNumber
(slider, number, valueLabel)
static/script.js:594
↓ 3 callers
Function
updateControlsUI
(settings)
static/script.js:78
↓ 2 callers
Function
areSettingsEqual
(obj1, obj2)
static/script.js:112
↓ 2 callers
Function
handleFileUpload
(file)
static/script.js:262
↓ 2 callers
Function
loadSettings
(profileKey = 'default')
static/script.js:121
↓ 2 callers
Function
pollForJobCompletion
(jobId)
static/script.js:328
↓ 2 callers
Function
showButtonFeedback
(button, message = "Saved!", duration = 2000)
static/script.js:442
↓ 2 callers
Function
updateSourceImageFromHistory
()
static/script.js:398
↓ 1 callers
Function
buildStyleProfilesAccordion
(categories)
static/script.js:497
↓ 1 callers
Function
checkForExistingJob
()
static/script.js:485
↓ 1 callers
Function
fetchAndDisplayResult
(jobId)
static/script.js:371
↓ 1 callers
Function
initializeApp
()
static/script.js:531
↓ 1 callers
Function
is_allowed_file
Checks if the uploaded file has an allowed extension.
app.py:191
↓ 1 callers
Function
parse_request_args
Parses and validates all incoming request parameters. Returns a dictionary of validated arguments or raises ValueError.
app.py:199
Function
applyEdits
()
static/script.js:284
Function
deleteCustomProfile
()
static/script.js:232
Function
downloadImage
()
static/script.js:420
Method
emit
(self, record)
app.py:45
Function
generate_image_endpoint
Accepts image generation requests, adds them to a queue, and returns a job ID for status polling.
app.py:395
Function
get_config
Provides frontend configuration, including the dynamic API base URL.
app.py:385
Function
get_result
Serves the generated image if the job is complete.
app.py:466
Function
get_status
Provides the status of a specific job.
app.py:439
Function
image_generation_worker
The worker function that runs in a background thread. It continuously pulls jobs from the queue and processes them.
app.py:297
Function
index
()
app.py:553
Function
internal_server_error
(error)
app.py:521
Function
job_cleanup_worker
Periodically cleans up old, completed jobs to free up memory and disk space.
app.py:257
Function
loadCustomProfile
()
static/script.js:220
Function
method_not_allowed_error
(error)
app.py:501
Function
not_found_error
(error)
app.py:491
Function
payload_too_large_error
(error)
app.py:511
Function
redo
()
static/script.js:466
Function
resetToAppDefaults
()
static/script.js:181
Function
resetUploadUI
()
static/script.js:248
Function
saveCustomProfile
()
static/script.js:201
Function
saveDefaults
()
static/script.js:164
Function
undo
()
static/script.js:457