hra commited on
Commit
b7d5189
1 Parent(s): 497a58e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 and get a quick Mind Map. Use examples as a guide. \n\nNote: Error typically occurs with wrong OpenAI API key & sometimes with ChatGPT's inability to give a structured mindmap"""
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=['English Premier League','Heavy metal music','Face recognition','Arsenal Football Club',],
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():