JLW commited on
Commit
2beb444
β€’
1 Parent(s): 4605466

Modify descriptive text

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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 results</center></h3>""")
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 PALChain from the <a href='https://github.com/hwchase17/langchain'>LangChain</a> library.
 
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>")