Div99 commited on
Commit
656b7bf
·
1 Parent(s): f55e92e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -18
app.py CHANGED
@@ -650,28 +650,12 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
650
  outputs=[num_words_state])
651
 
652
  gr.HTML("""
653
- <p>This application, developed by <a href='https://www.linkedin.com/in/javafxpert/'>James L. Weaver</a>,
654
- demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain.
655
  When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather.
656
  For faster inference without waiting in queue, you may duplicate the space.
657
  </p>""")
658
 
659
- gr.HTML("""
660
- <form action="https://www.paypal.com/donate" method="post" target="_blank">
661
- <input type="hidden" name="business" value="AK8BVNALBXSPQ" />
662
- <input type="hidden" name="no_recurring" value="0" />
663
- <input type="hidden" name="item_name" value="Please consider helping to defray the cost of APIs such as SerpAPI and WolframAlpha that this app uses." />
664
- <input type="hidden" name="currency_code" value="USD" />
665
- <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
666
- <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
667
- </form>
668
- """)
669
-
670
- gr.HTML("""<center>
671
- <a href="https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain?duplicate=true">
672
- <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
673
- Powered by <a href='https://github.com/hwchase17/langchain'>LangChain 🦜️🔗</a>
674
- </center>""")
675
 
676
  message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
677
  speak_text_state, monologue_state,
 
650
  outputs=[num_words_state])
651
 
652
  gr.HTML("""
653
+ <p>This application, developed by AI Researcher <a href='https://divyanshgarg.com/'>Div Garg</a>,
654
+ demonstrates a conversational AI agent implemented with OpenAI GPT-3.5 and LangChain.
655
  When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather.
656
  For faster inference without waiting in queue, you may duplicate the space.
657
  </p>""")
658
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
659
 
660
  message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
661
  speak_text_state, monologue_state,