rknl commited on
Commit
7a543a2
·
verified ·
1 Parent(s): 7853301

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import networkx as nx
7
  from pyvis.network import Network
8
  from IPython.display import HTML, Markdown, display
9
 
10
- nest_asyncio.apply()
11
 
12
  kg_index_path = "./telcom_full_property_kg_processed_schema/"
13
  kg_plot_path = kg_index_path+"full_kg.html"
@@ -155,5 +155,5 @@ with gr.Blocks() as demo:
155
  ask_button.click(query_tqa, inputs=[query_input], outputs=[model_output,model_metadata,reference,reference_text])
156
  plot_button.click(plot_full_kg, outputs=kg_output)
157
 
158
- demo.launch(auth=(os.getenv('id'), os.getenv('pass')), share=True,server_port=7860)
159
  # demo.launch(share=False)
 
7
  from pyvis.network import Network
8
  from IPython.display import HTML, Markdown, display
9
 
10
+ # nest_asyncio.apply()
11
 
12
  kg_index_path = "./telcom_full_property_kg_processed_schema/"
13
  kg_plot_path = kg_index_path+"full_kg.html"
 
155
  ask_button.click(query_tqa, inputs=[query_input], outputs=[model_output,model_metadata,reference,reference_text])
156
  plot_button.click(plot_full_kg, outputs=kg_output)
157
 
158
+ demo.launch(auth=(os.getenv('id'), os.getenv('pass')), share=True)
159
  # demo.launch(share=False)