Chris Finlayson
commited on
Commit
·
7b07841
1
Parent(s):
399c03f
Update to note
Browse files
app.py
CHANGED
@@ -169,6 +169,6 @@ outputs = [
|
|
169 |
gr.Dataframe(label="Unique edges", type="pandas") # Create a DataFrame output for the unique edges
|
170 |
]
|
171 |
|
172 |
-
description = 'This Python script generates a knowledge graph from a PDF document. It uses several libraries including gradio for the web interface, spacy for natural language processing, networkx and
|
173 |
iface = gr.Interface(fn=execute_process, inputs=inputs, outputs=outputs, title="PDF - NLP Knowledge graph - Interactive", description=description) # Create an interface
|
174 |
iface.launch() # Launch the interface
|
|
|
169 |
gr.Dataframe(label="Unique edges", type="pandas") # Create a DataFrame output for the unique edges
|
170 |
]
|
171 |
|
172 |
+
description = 'This Python script generates a knowledge graph from a PDF document. It uses several libraries including gradio for the web interface, spacy for natural language processing, networkx and pyvis for graph generation, and fitz for PDF processing.'
|
173 |
iface = gr.Interface(fn=execute_process, inputs=inputs, outputs=outputs, title="PDF - NLP Knowledge graph - Interactive", description=description) # Create an interface
|
174 |
iface.launch() # Launch the interface
|