Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,8 +80,9 @@ webui_title = """
|
|
| 80 |
# OpenAI Chatbot Based on Vector Database
|
| 81 |
"""
|
| 82 |
|
| 83 |
-
dup_link = f'''<a href="https://huggingface.co/spaces/ShawnAI/3GPP-ChatBot?duplicate=true"
|
| 84 |
-
|
|
|
|
| 85 |
|
| 86 |
init_message = f"""This demonstration website is based on \
|
| 87 |
**{OPENAI_LINK}** with **{LANGCHAIN_LINK}** and **{PINECONE_LINK}**
|
|
@@ -234,7 +235,7 @@ with gr.Blocks(
|
|
| 234 |
chain_2 = gr.State() # not inuse
|
| 235 |
vector_db = gr.State()
|
| 236 |
gr.Markdown(webui_title)
|
| 237 |
-
gr.
|
| 238 |
gr.Markdown(init_message)
|
| 239 |
|
| 240 |
with gr.Row():
|
|
|
|
| 80 |
# OpenAI Chatbot Based on Vector Database
|
| 81 |
"""
|
| 82 |
|
| 83 |
+
dup_link = f'''<a href="https://huggingface.co/spaces/ShawnAI/3GPP-ChatBot?duplicate=true"
|
| 84 |
+
style="display:grid; width: 200px;">
|
| 85 |
+
<img src="{get_logo(FORK_BADGE, "addthis")}"></a>'''
|
| 86 |
|
| 87 |
init_message = f"""This demonstration website is based on \
|
| 88 |
**{OPENAI_LINK}** with **{LANGCHAIN_LINK}** and **{PINECONE_LINK}**
|
|
|
|
| 235 |
chain_2 = gr.State() # not inuse
|
| 236 |
vector_db = gr.State()
|
| 237 |
gr.Markdown(webui_title)
|
| 238 |
+
gr.Markdown(dup_link)
|
| 239 |
gr.Markdown(init_message)
|
| 240 |
|
| 241 |
with gr.Row():
|