Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ def getmindmap(topic,openapikey):
|
|
| 95 |
with gr.Blocks() as demo:
|
| 96 |
gr.Markdown("<h1><center>Mind Map Generator</center></h1>")
|
| 97 |
gr.Markdown(
|
| 98 |
-
"""Enter a topic
|
| 99 |
)
|
| 100 |
with gr.Row() as row:
|
| 101 |
with gr.Column():
|
|
@@ -106,7 +106,7 @@ with gr.Blocks() as demo:
|
|
| 106 |
with gr.Column():
|
| 107 |
btn = gr.Button("Generate")
|
| 108 |
with gr.Column():
|
| 109 |
-
examples = gr.Examples(examples=['
|
| 110 |
inputs=[textbox1])
|
| 111 |
with gr.Row() as row:
|
| 112 |
with gr.Column():
|
|
|
|
| 95 |
with gr.Blocks() as demo:
|
| 96 |
gr.Markdown("<h1><center>Mind Map Generator</center></h1>")
|
| 97 |
gr.Markdown(
|
| 98 |
+
"""Enter a topic and get a quick Mind Map. Use examples as a guide. \n\nNote: ChatGPT (text-davinci-003) is used. The error condition typically occurs with the wrong OpenAI API key or due to ChatGPT's inability to give a structured mindmap"""
|
| 99 |
)
|
| 100 |
with gr.Row() as row:
|
| 101 |
with gr.Column():
|
|
|
|
| 106 |
with gr.Column():
|
| 107 |
btn = gr.Button("Generate")
|
| 108 |
with gr.Column():
|
| 109 |
+
examples = gr.Examples(examples=['Avengers','Heavy metal music','Face recognition','Arsenal Football Club'],
|
| 110 |
inputs=[textbox1])
|
| 111 |
with gr.Row() as row:
|
| 112 |
with gr.Column():
|