enpaiva commited on
Commit
20fd5fa
verified
1 Parent(s): d9c600f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -59,13 +59,11 @@ ejemplos = [
59
 
60
  CSS = """
61
  .contain { display: flex; flex-direction: column; }
62
- .gallery-container { height: calc(100vh - 200px) !important; }"
63
  #component-0 { height: 100%; }
64
  #gallery { flex-grow: 1; overflow: auto;}
65
  """
66
 
67
- print("Estado 1")
68
-
69
  # Interfaz con Blocks
70
  with gr.Blocks(title="Visualizaci贸n de Dependencias Sint谩cticas", theme=gr.themes.Ocean(), css=CSS) as demo:
71
  gr.Markdown("# 馃寪 Visualizaci贸n de Dependencias Sint谩cticas en Espa帽ol")
@@ -88,5 +86,4 @@ with gr.Blocks(title="Visualizaci贸n de Dependencias Sint谩cticas", theme=gr.the
88
 
89
  # Lanzar app
90
  if __name__ == "__main__":
91
- print("Estado 2")
92
- demo.launch()
 
59
 
60
  CSS = """
61
  .contain { display: flex; flex-direction: column; }
62
+ .gallery-container { height: calc(100vh - 200px) !important; }
63
  #component-0 { height: 100%; }
64
  #gallery { flex-grow: 1; overflow: auto;}
65
  """
66
 
 
 
67
  # Interfaz con Blocks
68
  with gr.Blocks(title="Visualizaci贸n de Dependencias Sint谩cticas", theme=gr.themes.Ocean(), css=CSS) as demo:
69
  gr.Markdown("# 馃寪 Visualizaci贸n de Dependencias Sint谩cticas en Espa帽ol")
 
86
 
87
  # Lanzar app
88
  if __name__ == "__main__":
89
+ demo.launch(server_name="0.0.0.0", server_port=7860)