Alexis Roldan commited on
Commit
47d626a
1 Parent(s): b859f61

Chatbot Update 22Mar23

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ openai.api_key = os.getenv('OPENAI_KEY')
8
 
9
  # Initialize message history array
10
  message_history = []
11
- initial_message = "Please write here your prompt and press 'enter'"
12
 
13
  # Create function to process prompt and append previous prompts as "context"
14
  def predict_prompt(input):
@@ -32,7 +32,7 @@ def predict_prompt(input):
32
  # Create UI using gradio
33
  with gr.Blocks(theme='abidlabs/dracula_test') as chatblock:
34
 
35
- gr.Markdown("<h1><center>Welcome to Alexis' Personal AI Assistant (powered by OpenAI API)</center></h1>")
36
 
37
  Chatbot = gr.Chatbot()
38
  with gr.Row():
 
8
 
9
  # Initialize message history array
10
  message_history = []
11
+ initial_message = "Please write your prompt here and press 'enter'"
12
 
13
  # Create function to process prompt and append previous prompts as "context"
14
  def predict_prompt(input):
 
32
  # Create UI using gradio
33
  with gr.Blocks(theme='abidlabs/dracula_test') as chatblock:
34
 
35
+ gr.Markdown("<h1><center>Welcome to my personal AI assistant (powered by OpenAI)</center></h1>")
36
 
37
  Chatbot = gr.Chatbot()
38
  with gr.Row():