Update app.py
Browse files
app.py
CHANGED
|
@@ -49,6 +49,8 @@ def create_plotly_tree():
|
|
| 49 |
|
| 50 |
PLOTLY_TREE = create_plotly_tree()
|
| 51 |
|
|
|
|
|
|
|
| 52 |
def setup_interface():
|
| 53 |
iface = gr.Interface(
|
| 54 |
fn=get_plotly_tree,
|
|
@@ -67,4 +69,5 @@ with gr.Blocks() as demo:
|
|
| 67 |
if __name__ == "__main__":
|
| 68 |
# iface = setup_interface()
|
| 69 |
# iface.launch()
|
|
|
|
| 70 |
demo.launch()
|
|
|
|
| 49 |
|
| 50 |
PLOTLY_TREE = create_plotly_tree()
|
| 51 |
|
| 52 |
+
print('PLOTLY_TREE', PLOTLY_TREE)
|
| 53 |
+
|
| 54 |
def setup_interface():
|
| 55 |
iface = gr.Interface(
|
| 56 |
fn=get_plotly_tree,
|
|
|
|
| 69 |
if __name__ == "__main__":
|
| 70 |
# iface = setup_interface()
|
| 71 |
# iface.launch()
|
| 72 |
+
print('before launch')
|
| 73 |
demo.launch()
|