umangchaudhry commited on
Commit
8c214fb
1 Parent(s): 858002b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -74,6 +74,11 @@ def respond(message, chat_history):
74
  return "", chat_history
75
 
76
  with gr.Blocks() as demo:
 
 
 
 
 
77
  #create chat history
78
  chat_history = []
79
  with gr.Row():
 
74
  return "", chat_history
75
 
76
  with gr.Blocks() as demo:
77
+
78
+ gr.Markdown("<h1 style='text-align: center;'>Langchain Coding Assistant</h1>")
79
+
80
+ gr.Markdown("## This Gradio app is powered by ChatGPT and LangChain. You can submit your OpenAI API key and use the chatbot to get assistance with grant writing. \n ### 1. Enter your OpenAI API key. \n ### 2. Click 'Submit' to set your API key.\n ### 3. Upload the documents that you would like the model to be aware of and then click "Create Vectorstore". Please note that once the vectorstore is created, it will persist and the documents will remain in the vectorstore." \n 4. Provide your prompt.)
81
+
82
  #create chat history
83
  chat_history = []
84
  with gr.Row():