Mpavan45 commited on
Commit
d3ec2df
·
verified ·
1 Parent(s): 5638ab8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -26
app.py CHANGED
@@ -22,31 +22,7 @@ st.markdown("""
22
  .sidebar .stSelectbox { margin-bottom: 15px; }
23
  </style>
24
  """, unsafe_allow_html=True)
25
- st.markdown(
26
- """
27
- <style>
28
- .stApp {
29
- background-image: url("https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/_YKXYHCbjM44ubGwnAKeQ.jpeg");
30
- background-size: cover;
31
- background-position: center;
32
- height: 100vh;
33
- }
34
-
35
- /* Semi-transparent overlay */
36
- .stApp::before {
37
- content: "";
38
- position: absolute;
39
- top: 0;
40
- left: 0;
41
- width: 100%;
42
- height: 100%;
43
- background: rgba(0, 0, 0, 0.4); /* 40% transparency */
44
- z-index: -1;
45
- }
46
- </style>
47
- """,
48
- unsafe_allow_html=True
49
- )
50
  # Header
51
  with st.container():
52
  st.markdown('<div class="header">', unsafe_allow_html=True)
@@ -118,7 +94,7 @@ submit_button = st.button("Get Answer ✅")
118
 
119
  # Clear the input (simulate reset)
120
  if clear:
121
- st.experimental_rerun()
122
 
123
 
124
  if submit_button:
 
22
  .sidebar .stSelectbox { margin-bottom: 15px; }
23
  </style>
24
  """, unsafe_allow_html=True)
25
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  # Header
27
  with st.container():
28
  st.markdown('<div class="header">', unsafe_allow_html=True)
 
94
 
95
  # Clear the input (simulate reset)
96
  if clear:
97
+ st.rerun()
98
 
99
 
100
  if submit_button: