Madhumitha19 commited on
Commit
60d700a
โ€ข
1 Parent(s): 3a3239a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -15,6 +15,7 @@ with open('tokenizer.pkl', 'rb') as tokenizer_file:
15
  # Define class labels and their numerical mapping
16
  class_mapping = {"Angry": 0, "Sad": 1, "Joy": 2, "Surprise": 3}
17
  numerical_to_label = {v: k for k, v in class_mapping.items()}
 
18
 
19
  st.title('VibeConnect ๐Ÿ˜๐Ÿ˜‹๐Ÿคช')
20
  st.markdown(
@@ -32,7 +33,7 @@ st.markdown(
32
  emojis = ["๐Ÿคฃ","๐Ÿฅฒ","๐Ÿฅน","๐Ÿ˜‡","๐Ÿ˜","๐Ÿ˜‹","๐Ÿคช","๐Ÿคฉ","๐Ÿฅณ","๐Ÿ˜ญ","๐Ÿ˜ก","๐Ÿ˜ฆ","๐Ÿ˜ง","๐Ÿ˜ฎ","๐Ÿฅด","๐Ÿคฎ","๐Ÿคง","๐Ÿ˜ท"]
33
 
34
  # Create a string of emojis to use as the background
35
- background_emojis = " ".join(emojis * 5) # Repeat the emojis to cover the background
36
 
37
 
38
  # Use HTML and CSS to set the background
@@ -54,6 +55,7 @@ background_style = f"""
54
  padding: 20px;
55
  border-radius: 10px;
56
  text-align: center;
 
57
  }}
58
  </style>
59
  <div class="content">
 
15
  # Define class labels and their numerical mapping
16
  class_mapping = {"Angry": 0, "Sad": 1, "Joy": 2, "Surprise": 3}
17
  numerical_to_label = {v: k for k, v in class_mapping.items()}
18
+ st.set_page_config(layout = "wide")
19
 
20
  st.title('VibeConnect ๐Ÿ˜๐Ÿ˜‹๐Ÿคช')
21
  st.markdown(
 
33
  emojis = ["๐Ÿคฃ","๐Ÿฅฒ","๐Ÿฅน","๐Ÿ˜‡","๐Ÿ˜","๐Ÿ˜‹","๐Ÿคช","๐Ÿคฉ","๐Ÿฅณ","๐Ÿ˜ญ","๐Ÿ˜ก","๐Ÿ˜ฆ","๐Ÿ˜ง","๐Ÿ˜ฎ","๐Ÿฅด","๐Ÿคฎ","๐Ÿคง","๐Ÿ˜ท"]
34
 
35
  # Create a string of emojis to use as the background
36
+ background_emojis = " ".join(emojis * 10) # Repeat the emojis to cover the background
37
 
38
 
39
  # Use HTML and CSS to set the background
 
55
  padding: 20px;
56
  border-radius: 10px;
57
  text-align: center;
58
+ opacity: 0.8
59
  }}
60
  </style>
61
  <div class="content">