Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ if chat_with_llama_2:
|
|
38 |
qa_chain = ChatChain(llm_loader)
|
39 |
name = "Llama-2"
|
40 |
else:
|
41 |
-
name = "SMU
|
42 |
|
43 |
title = f"""<h1 align="left" style="min-width:200px; margin-top:0;"> Chat with {name} </h1>"""
|
44 |
|
@@ -210,5 +210,5 @@ with gr.Blocks(css=customCSS) as demo:
|
|
210 |
api_name="reset",
|
211 |
)
|
212 |
|
213 |
-
demo.title = "Chat with SMU
|
214 |
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(share=share_gradio_app)
|
|
|
38 |
qa_chain = ChatChain(llm_loader)
|
39 |
name = "Llama-2"
|
40 |
else:
|
41 |
+
name = "SMU Library Chatbot"
|
42 |
|
43 |
title = f"""<h1 align="left" style="min-width:200px; margin-top:0;"> Chat with {name} </h1>"""
|
44 |
|
|
|
210 |
api_name="reset",
|
211 |
)
|
212 |
|
213 |
+
demo.title = "Chat with SMU Library Chatbot" if chat_with_llama_2 else "Chat with Llama-2"
|
214 |
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(share=share_gradio_app)
|