Spaces:
Configuration error
Configuration error
Update app.py
Browse files
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
|