Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -351,7 +351,7 @@ Respond as DilBot with warmth, empathy, and understanding. Keep it conversationa
|
|
| 351 |
sims = util.pytorch_cos_sim(user_embedding, quote_embeddings)[0]
|
| 352 |
best_match = sims.argmax().item()
|
| 353 |
selected_quote = current_quotes[best_match]
|
| 354 |
-
st.info(f"💭 **Quote for you:** *"{selected_quote}"*")
|
| 355 |
|
| 356 |
# Show response
|
| 357 |
st.markdown("### 🤖 DilBot's Response:")
|
|
|
|
| 351 |
sims = util.pytorch_cos_sim(user_embedding, quote_embeddings)[0]
|
| 352 |
best_match = sims.argmax().item()
|
| 353 |
selected_quote = current_quotes[best_match]
|
| 354 |
+
st.info(f"💭 **Quote for you:** *",{selected_quote}"*")
|
| 355 |
|
| 356 |
# Show response
|
| 357 |
st.markdown("### 🤖 DilBot's Response:")
|