Spaces:
Sleeping
Sleeping
Commit
路
a5dd2fe
1
Parent(s):
0ea720c
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def generate_knowledge_graph(api_key, user_input):
|
|
115 |
print("Gerando o conhecimento usando Graphviz...")
|
116 |
dot = Digraph(comment="Knowledge Graph", format='png')
|
117 |
dot.attr(dpi='300')
|
118 |
-
dot.attr(bgcolor='
|
119 |
|
120 |
# Estilizar os n贸s
|
121 |
dot.attr('node', shape='box', style='filled', fillcolor='lightblue', fontcolor='black')
|
@@ -142,11 +142,11 @@ def generate_knowledge_graph(api_key, user_input):
|
|
142 |
title_and_description = """
|
143 |
# Instagraph - Knowledge Graph Generator
|
144 |
|
145 |
-
**Created by [ArtificialGuyBR](https://twitter.com/ArtificialGuyBR)**
|
146 |
-
|
147 |
This interactive knowledge graph generator is inspired by [this GitHub project](https://github.com/yoheinakajima/instagraph/).
|
148 |
|
149 |
Enter your OpenAI API Key and a question, and let the AI create a detailed knowledge graph for you.
|
|
|
|
|
150 |
"""
|
151 |
|
152 |
# Create the Gradio interface with queueing enabled and concurrency_count set to 10
|
|
|
115 |
print("Gerando o conhecimento usando Graphviz...")
|
116 |
dot = Digraph(comment="Knowledge Graph", format='png')
|
117 |
dot.attr(dpi='300')
|
118 |
+
dot.attr(bgcolor='white')
|
119 |
|
120 |
# Estilizar os n贸s
|
121 |
dot.attr('node', shape='box', style='filled', fillcolor='lightblue', fontcolor='black')
|
|
|
142 |
title_and_description = """
|
143 |
# Instagraph - Knowledge Graph Generator
|
144 |
|
|
|
|
|
145 |
This interactive knowledge graph generator is inspired by [this GitHub project](https://github.com/yoheinakajima/instagraph/).
|
146 |
|
147 |
Enter your OpenAI API Key and a question, and let the AI create a detailed knowledge graph for you.
|
148 |
+
|
149 |
+
You can input a URL to scrape text for generating the knowledge graph. Rest assured, the code is open for your inspection to ensure safety.
|
150 |
"""
|
151 |
|
152 |
# Create the Gradio interface with queueing enabled and concurrency_count set to 10
|