Spaces:
Sleeping
Sleeping
artificialguybr
commited on
Commit
•
ea82e47
1
Parent(s):
b2968ad
Update app.py
Browse files
app.py
CHANGED
@@ -135,12 +135,21 @@ def generate_knowledge_graph(api_key, user_input):
|
|
135 |
|
136 |
title_and_description = """
|
137 |
# Instagraph - Knowledge Graph Generator
|
|
|
|
|
138 |
|
139 |
Enter your OpenAI API Key and a question, and let the AI create a detailed knowledge graph for you.
|
140 |
|
141 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
"""
|
143 |
|
|
|
144 |
with gr.Blocks() as app:
|
145 |
gr.Markdown(title_and_description)
|
146 |
|
|
|
135 |
|
136 |
title_and_description = """
|
137 |
# Instagraph - Knowledge Graph Generator
|
138 |
+
Created by [@artificialguybr](https://twitter.com/artificialguybr)
|
139 |
+
Code by [Instagraph on GitHub](https://github.com/yoheinakajima/instagraph)
|
140 |
|
141 |
Enter your OpenAI API Key and a question, and let the AI create a detailed knowledge graph for you.
|
142 |
|
143 |
+
## Features
|
144 |
+
- **URL**: You can now input a URL to scrape text for generating the knowledge graph.
|
145 |
+
- **Security**: Rest assured, the code is open for your inspection in the files. There's no risk in using your OpenAI API key here.
|
146 |
+
- **Best View**: For the best visualization, consider downloading the generated image.
|
147 |
+
- **Flexible Input**: You can either type what you want the API to generate as a graph or use a URL for this purpose.
|
148 |
+
|
149 |
+
Feel free to explore and generate your own knowledge graphs!
|
150 |
"""
|
151 |
|
152 |
+
|
153 |
with gr.Blocks() as app:
|
154 |
gr.Markdown(title_and_description)
|
155 |
|