Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
ameerazam08/Gemini-Image-Edit
Ava2lon
/
studio
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
a137ca3
studio
/
utils
/
zoom_tracker.py
Ava2lon
Upload 170 files
345855e
verified
about 1 month ago
Raw
Download with hf CLI
Copy download link
History
Blame
Safe
204 Bytes
def
zoom_intensity
(
score
):
"""
Maps viral score to zoom level
"""
if
score >
80
:
return
1.2
# aggressive zoom
elif
score >
50
:
return
1.1
else
:
return
1.0