tonyassi commited on
Commit
13fe579
β€’
1 Parent(s): 809b14e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
-
3
 
4
  def echo(message, chat_history):
5
  bot_message = 'echo ' + message
@@ -19,7 +19,7 @@ with gr.Blocks() as demo:
19
 
20
  # OpenAI key
21
  openai_key_textbox = gr.Textbox(label='OpenAI Key')
22
- openai_key_button = gr.Button(label='Test OpenAI Key')
23
 
24
  # Titles
25
  with gr.Row():
 
1
  import gradio as gr
2
+ import openai
3
 
4
  def echo(message, chat_history):
5
  bot_message = 'echo ' + message
 
19
 
20
  # OpenAI key
21
  openai_key_textbox = gr.Textbox(label='OpenAI Key')
22
+ openai_key_button = gr.Button(value='Test OpenAI Key')
23
 
24
  # Titles
25
  with gr.Row():