Spaces:
Build error
Build error
Modify descriptive text
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def calc_gpt_pal(math_problem):
|
|
49 |
block = gr.Blocks(css=".gradio-container {background-color: lightgray}")
|
50 |
|
51 |
with block:
|
52 |
-
title = gr.Markdown("""<h3><center>Comparing GPT math
|
53 |
answer_html = gr.Markdown()
|
54 |
|
55 |
request = gr.Textbox(label="Math question:",
|
@@ -70,7 +70,8 @@ with block:
|
|
70 |
This simple app demonstrates a couple of techniques for using GPT-3 to solve math problems.
|
71 |
The first technique is to simply ask GPT-3 to solve the problem. The second technique is to use
|
72 |
GPT-3 to interpret the problem and then create/run a Python program to solve it. The program is
|
73 |
-
generated using the
|
|
|
74 |
See <a href='https://reasonwithpal.com/'>PAL: Program-aided Language Models</a>""")
|
75 |
|
76 |
gr.HTML("<center>Powered by <a href='https://github.com/hwchase17/langchain'>LangChain 🦜️🔗</a></center>")
|
|
|
49 |
block = gr.Blocks(css=".gradio-container {background-color: lightgray}")
|
50 |
|
51 |
with block:
|
52 |
+
title = gr.Markdown("""<h3><center>Comparing GPT math techniques</center></h3>""")
|
53 |
answer_html = gr.Markdown()
|
54 |
|
55 |
request = gr.Textbox(label="Math question:",
|
|
|
70 |
This simple app demonstrates a couple of techniques for using GPT-3 to solve math problems.
|
71 |
The first technique is to simply ask GPT-3 to solve the problem. The second technique is to use
|
72 |
GPT-3 to interpret the problem and then create/run a Python program to solve it. The program is
|
73 |
+
generated using the <a href='https://langchain.readthedocs.io/en/latest/examples/chains/pal.html'>
|
74 |
+
PALChain from the LangChain</a> library.
|
75 |
See <a href='https://reasonwithpal.com/'>PAL: Program-aided Language Models</a>""")
|
76 |
|
77 |
gr.HTML("<center>Powered by <a href='https://github.com/hwchase17/langchain'>LangChain 🦜️🔗</a></center>")
|