AlGe commited on
Commit
8e0f04b
·
verified ·
1 Parent(s): 61bd9ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -11,16 +11,6 @@ import os
11
  import colorsys
12
  import time
13
 
14
- def hex_to_rgb(hex_color: str) -> tuple[int, int, int]:
15
- hex_color = hex_color.lstrip('#')
16
- return tuple(int(hex_color[i:i+2], 16) for i in (0, 2, 4))
17
- from __future__ import annotations
18
- from typing import Iterable
19
- import gradio as gr
20
- from gradio.themes.base import Base
21
- from gradio.themes.utils import colors, fonts, sizes
22
- import time
23
-
24
  class MPGPoster(Base):
25
  @staticmethod
26
  def create_color_shades(hex_color: str) -> colors.Color:
 
11
  import colorsys
12
  import time
13
 
 
 
 
 
 
 
 
 
 
 
14
  class MPGPoster(Base):
15
  @staticmethod
16
  def create_color_shades(hex_color: str) -> colors.Color: