Skier8402 commited on
Commit
c95599a
·
1 Parent(s): 106f6fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  import streamlit as st
2
  from langchain.llms import OpenAI
3
  from langchain.chains import PALChain
 
1
+ """ Program Aided Language model: Helps with math problems
2
+ This example was adapted from Data Professor Github repo
3
+ It uses streamlit to create a web app that uses OpenAI API to generate responses to math questions
4
+ Langchain is used to chain the responses to create a coherent response using PALChain module
5
+ """
6
+
7
  import streamlit as st
8
  from langchain.llms import OpenAI
9
  from langchain.chains import PALChain