Jass0117 commited on
Commit
9fbc2bb
·
verified ·
1 Parent(s): 80136f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -15,18 +15,20 @@ def predict(path:str):
15
 
16
  image_url = "https://huggingface.co/spaces/Jass0117/test/blob/main/diente.jpg"
17
 
18
- css = """
19
- .gradio-container {
20
- background-color: #ADD8E6; /* Fondo azul claro */
21
  background-image: url('{image_url}'),
22
  url('{image_url}'),
23
  url('{image_url}'),
24
  url('{image_url}');
25
  background-position: top left, top right, bottom left, bottom right;
26
  background-repeat: no-repeat;
27
- }
 
28
  """
29
 
 
30
  with gr.Blocks(css=css) as demo:
31
  # Encabezado
32
  gr.Markdown("<h1 style='text-align: center;'>Bienvenido al Identificador de Piezas Dentales</h1>"
 
15
 
16
  image_url = "https://huggingface.co/spaces/Jass0117/test/blob/main/diente.jpg"
17
 
18
+ css = f"""
19
+ .gradio-container {{
20
+ background-color: #ADD8E6;
21
  background-image: url('{image_url}'),
22
  url('{image_url}'),
23
  url('{image_url}'),
24
  url('{image_url}');
25
  background-position: top left, top right, bottom left, bottom right;
26
  background-repeat: no-repeat;
27
+ background-size: auto;
28
+ }}
29
  """
30
 
31
+
32
  with gr.Blocks(css=css) as demo:
33
  # Encabezado
34
  gr.Markdown("<h1 style='text-align: center;'>Bienvenido al Identificador de Piezas Dentales</h1>"