Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,11 +28,11 @@ def clear_graph(api_key,graph):
|
|
28 |
return graph,None#Image.new('RGB', (400, 100),(255, 255, 255))
|
29 |
|
30 |
title = "Associative Memory with GPT4KG"
|
31 |
-
description = "Enter text to generate a knowledge graph
|
32 |
|
33 |
with gr.Blocks() as demo:
|
34 |
gr.Markdown(f"<h1><center>{title}</center></h1>")
|
35 |
-
gr.Markdown(f"<
|
36 |
|
37 |
output_image = gr.Image(label="Knowledge Graph", type="pil")
|
38 |
api_key = gr.Textbox(lines=1, label="OpenAI API Key")
|
|
|
28 |
return graph,None#Image.new('RGB', (400, 100),(255, 255, 255))
|
29 |
|
30 |
title = "Associative Memory with GPT4KG"
|
31 |
+
description = "Enter text to generate a semantically searchable knowledge graph:"
|
32 |
|
33 |
with gr.Blocks() as demo:
|
34 |
gr.Markdown(f"<h1><center>{title}</center></h1>")
|
35 |
+
gr.Markdown(f"<h3><center>{description}</center></h3>")
|
36 |
|
37 |
output_image = gr.Image(label="Knowledge Graph", type="pil")
|
38 |
api_key = gr.Textbox(lines=1, label="OpenAI API Key")
|