CoolFace
Apppublic

HorizonRobotics/EmbodiedGen-Image-to-3D

sourceHugging Faceapache-2.0updated 23d agoView on Hugging Face
47likes
app_style.py44 linesDownload Raw Back to root
1# Project EmbodiedGen2#3# Copyright (c) 2025 Horizon Robotics. All Rights Reserved.4#5# Licensed under the Apache License, Version 2.0 (the "License");6# you may not use this file except in compliance with the License.7# You may obtain a copy of the License at8#9#       http://www.apache.org/licenses/LICENSE-2.010#11# Unless required by applicable law or agreed to in writing, software12# distributed under the License is distributed on an "AS IS" BASIS,13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or14# implied. See the License for the specific language governing15# permissions and limitations under the License.16 17from gradio.themes import Soft18from gradio.themes.utils.colors import gray, stone19 20lighting_css = """21<style>22#lighter_mesh canvas {23    filter: brightness(2.3) !important;24}25</style>26"""27 28image_css = """29<style>30.image_fit .image-frame {31object-fit: contain !important;32height: 100% !important;33}34</style>35"""36 37custom_theme = Soft(38    primary_hue=stone,39    secondary_hue=gray,40    radius_size="md",41    text_size="sm",42    spacing_size="sm",43)44