Spaces:
Build error
Build error
Commit
·
fbf923c
1
Parent(s):
7fd6560
Update app.py
Browse files
app.py
CHANGED
|
@@ -830,29 +830,10 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
| 830 |
outputs=[docsearch_state])
|
| 831 |
|
| 832 |
gr.HTML("""
|
| 833 |
-
<p>This application
|
| 834 |
-
demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain.
|
| 835 |
-
When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather.
|
| 836 |
-
Uses talking heads from <a href='https://exh.ai/'>Ex-Human</a>.
|
| 837 |
-
For faster inference without waiting in queue, you may duplicate the space.
|
| 838 |
</p>""")
|
| 839 |
|
| 840 |
-
|
| 841 |
-
<form action="https://www.paypal.com/donate" method="post" target="_blank">
|
| 842 |
-
<input type="hidden" name="business" value="AK8BVNALBXSPQ" />
|
| 843 |
-
<input type="hidden" name="no_recurring" value="0" />
|
| 844 |
-
<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." />
|
| 845 |
-
<input type="hidden" name="currency_code" value="USD" />
|
| 846 |
-
<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" />
|
| 847 |
-
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
|
| 848 |
-
</form>
|
| 849 |
-
""")
|
| 850 |
-
|
| 851 |
-
gr.HTML("""<center>
|
| 852 |
-
<a href="https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain?duplicate=true">
|
| 853 |
-
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
| 854 |
-
Powered by <a href='https://github.com/hwchase17/langchain'>LangChain 🦜️🔗</a>
|
| 855 |
-
</center>""")
|
| 856 |
|
| 857 |
message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
|
| 858 |
speak_text_state, talking_head_state, monologue_state,
|
|
|
|
| 830 |
outputs=[docsearch_state])
|
| 831 |
|
| 832 |
gr.HTML("""
|
| 833 |
+
<p>This application was developed by Arbaaz Mahmood as a first step towards AbstractGPT : a one-of-a-kind multi-modal reasoning AI which leverage a category theoretic generative domain language help different models communicate and perform consistent mathematical reasoning and find interesting patterns in data and hopefully be useful in scientific research and theorem-solving.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 834 |
</p>""")
|
| 835 |
|
| 836 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 837 |
|
| 838 |
message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
|
| 839 |
speak_text_state, talking_head_state, monologue_state,
|