Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
v2.3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Feb 5, 2024
1 parent 5980faf commit c316ce1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion arxiv_ai/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
st.markdown("##### :orange_heart: built using [phidata](https://github.com/phidatahq/phidata)")
with st.expander(":rainbow[:point_down: How to use]"):
st.markdown("Ask questions like:")
st.markdown("- What is gaia?")
st.markdown("- Tell me about https://arxiv.org/abs/1706.03762")
st.markdown("- What is FlashAttention?")
st.markdown("- What is gaia?")
st.markdown("- Summarize the paper on FlashAttention")
st.markdown("- Search knowledge base for gaia")
st.markdown("- Search arXiv for gaia")
Expand Down
17 changes: 8 additions & 9 deletions hn_ai/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
)
st.title("Hacker News AI")
st.markdown("##### :orange_heart: built using [phidata](https://github.com/phidatahq/phidata)")
with st.expander(":rainbow[:point_down: Example Questions]"):
st.markdown("- Tell me about the user pg")
st.markdown("- What's on hackernews about AI?")
st.markdown("- What's on hackernews about iPhone?")
st.markdown("- What's trending on hackernews?")
st.markdown("- What are users showing on hackernews?")
st.markdown("- What are users asking on hackernews?")
st.markdown("- Summarize this story: https://news.ycombinator.com/item?id=39156778")


def restart_assistant():
Expand All @@ -38,15 +46,6 @@ def main() -> None:
st.markdown("#### :technologist: Enter a username and start chatting with the Hacker News AI")
return

with st.expander(":orange[:point_down: Example Questions]"):
st.markdown("- Tell me about the user pg")
st.markdown("- What's on hackernews about AI?")
st.markdown("- What's on hackernews about iPhone?")
st.markdown("- What's trending on hackernews?")
st.markdown("- What are users showing on hackernews?")
st.markdown("- What are users asking on hackernews?")
st.markdown("- Summarize this story: https://news.ycombinator.com/item?id=39156778")

# Get the assistant
hn_assistant: Assistant
if "hn_assistant" not in st.session_state or st.session_state["hn_assistant"] is None:
Expand Down

0 comments on commit c316ce1

Please sign in to comment.