hra commited on
Commit
9a0373a
1 Parent(s): 4a47e06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,12 +93,12 @@ with gr.Blocks() as demo:
93
  textbox2 = gr.Textbox(placeholder="Enter OpenAI API Key...", lines=1,label='Your API Key (Mandatory)')
94
  btn = gr.Button("Generate")
95
  examples = gr.Examples(examples=['English Premier League','Heavy metal music','Face recognition','Arsenal Football Club',],
96
- inputs=[textbox])
97
  with gr.Column():
98
  output_image1 = gr.components.Image(label="Your Mind Map")
99
 
100
 
101
- btn.click(getmindmap,inputs=[textbox1,textbox2], outputs=[output_image1,output_image2])
102
 
103
 
104
  demo.launch()
 
93
  textbox2 = gr.Textbox(placeholder="Enter OpenAI API Key...", lines=1,label='Your API Key (Mandatory)')
94
  btn = gr.Button("Generate")
95
  examples = gr.Examples(examples=['English Premier League','Heavy metal music','Face recognition','Arsenal Football Club',],
96
+ inputs=[textbox1])
97
  with gr.Column():
98
  output_image1 = gr.components.Image(label="Your Mind Map")
99
 
100
 
101
+ btn.click(getmindmap,inputs=[textbox1,textbox2], outputs=[output_image1])
102
 
103
 
104
  demo.launch()