heysho commited on
Commit
f82243e
·
verified ·
1 Parent(s): 14423b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -16
app.py CHANGED
@@ -16,6 +16,23 @@ prompt_template = st.secrets['PROMPT_REQUIREMENT']
16
  # Page title
17
  st.title('Requirements Checker')
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  # Initialize usage counter and language in session state
20
  if 'usage_count' not in st.session_state:
21
  st.session_state['usage_count'] = 0
@@ -87,19 +104,3 @@ else:
87
  if result:
88
  st.write(result)
89
 
90
- # Styling (optional)
91
- st.markdown(
92
- """
93
- <style>
94
- /* Custom style adjustments */
95
- .st-emotion-cache-iiif1v { display: none !important; }
96
- .st-emotion-cache-13ln4jf {padding: 6rem 1rem 0rem;}
97
- @media (max-width: 50.5rem) {
98
- .st-emotion-cache-13ln4jf {
99
- max-width: calc(0rem + 100vw);
100
- }
101
- }
102
- </style>
103
- """,
104
- unsafe_allow_html=True,
105
- )
 
16
  # Page title
17
  st.title('Requirements Checker')
18
 
19
+ # Styling (optional)
20
+ st.markdown(
21
+ """
22
+ <style>
23
+ /* Custom style adjustments */
24
+ .st-emotion-cache-iiif1v { display: none !important; }
25
+ .st-emotion-cache-13ln4jf {padding: 6rem 1rem 0rem;}
26
+ @media (max-width: 50.5rem) {
27
+ .st-emotion-cache-13ln4jf {
28
+ max-width: calc(0rem + 100vw);
29
+ }
30
+ }
31
+ </style>
32
+ """,
33
+ unsafe_allow_html=True,
34
+ )
35
+
36
  # Initialize usage counter and language in session state
37
  if 'usage_count' not in st.session_state:
38
  st.session_state['usage_count'] = 0
 
104
  if result:
105
  st.write(result)
106