Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot fixes for readme file #55

Merged
merged 3 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ Here is an overview of our project structure:
| | |--comp_spec_uml.png
| |-- Component Specification.md
| |-- Functional Specification.md
| |--ThroneTalks-TechnologyReview.pptx
| |--ThroneTalks-TechnologyReview.pdf
| |--Throne-Talk_final_presentation.pdf
|--examples/
| |--images/
| | |-- site_navigation_1.png
Expand Down Expand Up @@ -167,7 +168,7 @@ in a secrets.toml file within ```thronetalk-game-of-thrones-summarizer/.streamli

<a id="examples"></a>
## Examples
A video demonstration of our working application can be seen [here](https://drive.google.com/file/d/1ns3LBZTvtw00qaH_RWThXGwe9duF2EDC/view?usp=sharing).
A video demonstration of our working application can be seen [here](https://drive.google.com/file/d/1GadkwGMEtFOznwmvRZYv9gkUYwnhFoLj/view?usp=sharing).

More details on how to run our app can be found [here](./examples/README.md).

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ The app is hosted as a Streamlit app here: **[throne-talk.streamlit.app](https:/
<a id="web-application"></a>
## Web Application
* Click [here](./site_navigation.md) for a website walk-through with text.
* There is also a visual [Video Demonstration](https://drive.google.com/file/d/1ns3LBZTvtw00qaH_RWThXGwe9duF2EDC/view?usp=sharing).
* There is also a visual [Video Demonstration](https://drive.google.com/file/d/1GadkwGMEtFOznwmvRZYv9gkUYwnhFoLj/view?usp=sharing).
22 changes: 11 additions & 11 deletions thronetalk-game-of-thrones-summarizer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ def remove_zeros(lst):
characters = list(characters_tuple)
st.subheader(out_text_temp2)
st.markdown('''This line chart visualizes the ***sentiment scores*** across seasons and episodes
for the top 3 most active characters within the range selected by the user,
based ***on-screen time***. Sentiment scores reflect the emotional tone of dialogue
and actions, with positive scores indicating positive sentiment and negative scores
indicating negative sentiment. This visualization allows users to track the
emotional journey of key characters throughout the series, identifying trends,
for the top 3 most active characters within the range selected by the user,
based ***on-screen time***. Sentiment scores reflect the emotional tone of dialogue
and actions, with positive scores indicating positive sentiment and negative scores
indicating negative sentiment. This visualization allows users to track the
emotional journey of key characters throughout the series, identifying trends,
patterns, and significant moments in their development.''')
vg = VisualizationGenerator(
int(season_from),
Expand All @@ -112,7 +112,7 @@ def remove_zeros(lst):
"fill": "white"
}
).encode(
x=alt.X('season-episode:O',title = 'Season:Episode'),
x=alt.X('season-episode:O',title = 'Season:Episode', sort=None),
y=alt.Y('value:Q', title = 'Sentiment score'),
color='character name:N'

Expand All @@ -122,11 +122,11 @@ def remove_zeros(lst):
out_text_2 = f"**{H2} {selected_episode_from} to {selected_episode_to}**"
st.subheader(out_text_2)
st.markdown('''These word clouds display the most frequently used words
associated with the top 3 characters selected from the sentiment
analysis above. Each word cloud visually represents the prominence
of words in the dialogue or actions of these characters throughout
the selected seasons and episodes. Larger words indicate higher
frequency of use, offering users a glimpse into the key themes,
associated with the top 3 characters selected from the sentiment
analysis above. Each word cloud visually represents the prominence
of words in the dialogue or actions of these characters throughout
the selected seasons and episodes. Larger words indicate higher
frequency of use, offering users a glimpse into the key themes,
topics, and attributes associated with each character.''')
columns = st.columns(len(characters))
wordcloud = vg.multi_word_cloud(characters)
Expand Down
Loading