giseldo commited on
Commit
9faf1b7
·
1 Parent(s): 95834fd

ultima versao

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -69,8 +69,9 @@ def create_pip_plot(libraries, pip_choices):
69
  else:
70
  return gr.update(visible=True)
71
 
 
72
 
73
- with gr.Blocks() as demo:
74
  with gr.Row():
75
  with gr.Column():
76
  gr.Markdown("## Conjunto de Dados")
@@ -94,5 +95,4 @@ with gr.Blocks() as demo:
94
  # fetch.click(create_star_plot, inputs=[libraries, pip], outputs=star_plot)
95
  # fetch.click(create_issue_plot, inputs=[libraries, issues], outputs=issue_plot)
96
 
97
- if __name__ == "__main__":
98
- demo.launch()
 
69
  else:
70
  return gr.update(visible=True)
71
 
72
+ demo = gr.Blocks()
73
 
74
+ with demo:
75
  with gr.Row():
76
  with gr.Column():
77
  gr.Markdown("## Conjunto de Dados")
 
95
  # fetch.click(create_star_plot, inputs=[libraries, pip], outputs=star_plot)
96
  # fetch.click(create_issue_plot, inputs=[libraries, issues], outputs=issue_plot)
97
 
98
+ demo.launch()