Spaces:
Runtime error
Runtime error
example image
Browse files- app.py +4 -2
- images/example.png +0 -0
app.py
CHANGED
@@ -14,10 +14,12 @@ sidebar()
|
|
14 |
|
15 |
st.write("# 👩 What would they have tweeted about this?")
|
16 |
st.write("## About this App")
|
17 |
-
st.write("This app uses an [Agent](https://docs.haystack.deepset.ai/docs/agent) (
|
18 |
st.write("The `TwitterRetriever` is set to retrieve the latest 15 tweets by the given twitter username to construct an understanding of their style of tweeting")
|
19 |
st.write("### Instructions")
|
20 |
-
st.write("For best results, please provide a Twitter username as it appears on
|
|
|
|
|
21 |
|
22 |
# if st.session_state.get("OPENAI_API_KEY") and st.session_state.get("SERPER_KEY"):
|
23 |
|
|
|
14 |
|
15 |
st.write("# 👩 What would they have tweeted about this?")
|
16 |
st.write("## About this App")
|
17 |
+
st.write("This app, buily with [Haystack](https://github.com/deepset-ai/haystack#readme) uses an [Agent](https://docs.haystack.deepset.ai/docs/agent) (with GPT-4) with a `WebSearch` and `TwitterRetriever` tool")
|
18 |
st.write("The `TwitterRetriever` is set to retrieve the latest 15 tweets by the given twitter username to construct an understanding of their style of tweeting")
|
19 |
st.write("### Instructions")
|
20 |
+
st.write("For best results, please provide a Twitter username as it appears on twitter. E.g.: [dog_feelings](https://twitter.com/dog_feelings) 🐶")
|
21 |
+
st.write("### Example")
|
22 |
+
st.image("./images/example.png")
|
23 |
|
24 |
# if st.session_state.get("OPENAI_API_KEY") and st.session_state.get("SERPER_KEY"):
|
25 |
|
images/example.png
ADDED
![]() |