Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -832,11 +832,9 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
| 832 |
outputs=[docsearch_state])
|
| 833 |
|
| 834 |
gr.HTML("""
|
| 835 |
-
<p>This application, developed by <a href='
|
| 836 |
demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain.
|
| 837 |
When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather.
|
| 838 |
-
Uses talking heads from <a href='https://exh.ai/'>Ex-Human</a>.
|
| 839 |
-
For faster inference without waiting in queue, you may duplicate the space.
|
| 840 |
</p>""")
|
| 841 |
|
| 842 |
gr.HTML("""
|
|
@@ -850,11 +848,11 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
| 850 |
</form>
|
| 851 |
""")
|
| 852 |
|
| 853 |
-
gr.HTML("""<center>
|
| 854 |
-
|
| 855 |
-
|
| 856 |
-
|
| 857 |
-
|
| 858 |
|
| 859 |
message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
|
| 860 |
speak_text_state, talking_head_state, monologue_state,
|
|
|
|
| 832 |
outputs=[docsearch_state])
|
| 833 |
|
| 834 |
gr.HTML("""
|
| 835 |
+
<p>This application, developed by AI Researcher <a href='divyanshgarg.com'>Div Garg</a>,
|
| 836 |
demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain.
|
| 837 |
When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather.
|
|
|
|
|
|
|
| 838 |
</p>""")
|
| 839 |
|
| 840 |
gr.HTML("""
|
|
|
|
| 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,
|