Spaces:
Runtime error
Runtime error
darienacosta
commited on
Commit
β’
6127774
1
Parent(s):
a5f643f
Update app.py
Browse files
app.py
CHANGED
@@ -1066,30 +1066,16 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
1066 |
|
1067 |
|
1068 |
gr.HTML("""
|
1069 |
-
<p>This
|
1070 |
-
demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain.
|
1071 |
-
When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather.
|
1072 |
-
Uses talking heads from <a href='https://exh.ai/'>Ex-Human</a>.
|
1073 |
-
For faster inference without waiting in queue, you may duplicate the space.
|
1074 |
</p>""")
|
1075 |
|
1076 |
-
gr.HTML("""
|
1077 |
-
<form action="https://www.paypal.com/donate" method="post" target="_blank">
|
1078 |
-
<input type="hidden" name="business" value="AK8BVNALBXSPQ" />
|
1079 |
-
<input type="hidden" name="no_recurring" value="0" />
|
1080 |
-
<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." />
|
1081 |
-
<input type="hidden" name="currency_code" value="USD" />
|
1082 |
-
<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" />
|
1083 |
-
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
|
1084 |
-
</form>
|
1085 |
-
""")
|
1086 |
|
1087 |
gr.HTML("""<center>
|
1088 |
-
<a href="https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain?duplicate=true">
|
1089 |
-
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
1090 |
Powered by <a href='https://github.com/hwchase17/langchain'>LangChain π¦οΈπ</a>
|
1091 |
</center>""")
|
1092 |
|
|
|
|
|
1093 |
message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
|
1094 |
speak_text_state, talking_head_state, monologue_state,
|
1095 |
express_chain_state, num_words_state, formality_state,
|
|
|
1066 |
|
1067 |
|
1068 |
gr.HTML("""
|
1069 |
+
<p>This is a proof of concept chatbot for Cover Whale.
|
|
|
|
|
|
|
|
|
1070 |
</p>""")
|
1071 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1072 |
|
1073 |
gr.HTML("""<center>
|
|
|
|
|
1074 |
Powered by <a href='https://github.com/hwchase17/langchain'>LangChain π¦οΈπ</a>
|
1075 |
</center>""")
|
1076 |
|
1077 |
+
gr.HTML('''<br><br><br><center><img src="https://www.coverwhale.com/wp-content/uploads/2022/06/coverwhale_logo_purple.2560760b-768x136.png"></center>''')
|
1078 |
+
|
1079 |
message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
|
1080 |
speak_text_state, talking_head_state, monologue_state,
|
1081 |
express_chain_state, num_words_state, formality_state,
|