merve HF staff commited on
Commit
481291e
·
1 Parent(s): 2df6d1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -14,7 +14,16 @@ def query(payload, model_id, api_token):
14
 
15
  api_token = os.getenv("api_token")
16
  st.header("Ways to Improve Your Conversational Agents using Language Models 🤗")
17
-
 
 
 
 
 
 
 
 
 
18
  st.write("There are many ways to improve your conversational agents using language models. In this blog post, I will walk you through a couple of tricks that will improve your conversational agent. 👾")
19
  st.write("There are multiple ways of building conversational agents, you can build intent-action based chatbots for automating processes or build language-model based chatbots like [DialoGPT](https://huggingface.co/docs/transformers/model_doc/dialogpt). This blog post is for intent-action based agents, but in the last part, I'm talking about a hybrid agent that switches between our chatbot and a dialogue language model.")
20
 
 
14
 
15
  api_token = os.getenv("api_token")
16
  st.header("Ways to Improve Your Conversational Agents using Language Models 🤗")
17
+ st.image("./blog_img.jpeg")
18
+ st.markdown("""
19
+ <style>
20
+ .small-font {
21
+ font-size:3px !important;
22
+ }
23
+ </style>
24
+ """, unsafe_allow_html=True)
25
+
26
+ st.markdown('<p class="small-font">Image Credits: The New Yorker, https://paidpost.newyorker.com/article/hbo/rise-ethical-machines </p>', unsafe_allow_html=True)
27
  st.write("There are many ways to improve your conversational agents using language models. In this blog post, I will walk you through a couple of tricks that will improve your conversational agent. 👾")
28
  st.write("There are multiple ways of building conversational agents, you can build intent-action based chatbots for automating processes or build language-model based chatbots like [DialoGPT](https://huggingface.co/docs/transformers/model_doc/dialogpt). This blog post is for intent-action based agents, but in the last part, I'm talking about a hybrid agent that switches between our chatbot and a dialogue language model.")
29