Chris Finlayson
commited on
Commit
·
dd39da2
1
Parent(s):
d58f62c
Minor update to heading
Browse files
app.py
CHANGED
@@ -134,5 +134,5 @@ outputs = [
|
|
134 |
]
|
135 |
|
136 |
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 matplotlib for graph generation, and fitz for PDF processing.'
|
137 |
-
iface = gr.Interface(fn=execute_process, inputs=inputs, outputs=outputs, title="PDF Knowledge graph", description=description) # Create an interface
|
138 |
iface.launch() # Launch the interface
|
|
|
134 |
]
|
135 |
|
136 |
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 matplotlib for graph generation, and fitz for PDF processing.'
|
137 |
+
iface = gr.Interface(fn=execute_process, inputs=inputs, outputs=outputs, title="PDF - NLP Knowledge graph - Static", description=description) # Create an interface
|
138 |
iface.launch() # Launch the interface
|