Spaces:
Runtime error

Mleity commited on
Commit
f8f5259
·
verified ·
1 Parent(s): ec10538

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +10 -13
src/streamlit_app.py CHANGED
@@ -13,20 +13,13 @@ except:
13
  pass # If no logo, it just skips this part quietly
14
 
15
  # --- HEADER SECTION WITH CUSTOM COLOR ---
16
- st.title("🌐 MESC Ltd")
17
-
18
- # This is the line that changes a single word to RED
19
- # We use unsafe_allow_html=True to let the app show colors
20
- st.markdown(
21
- '<h3>Created by <span style="color:red;">[MESC]</span></h3>',
22
- unsafe_allow_html=True
23
- )
24
- st.markdown(
25
- '<h3>Created by <span style="color:red;">[المحمدون]</span></h3>',
26
- unsafe_allow_html=True
27
  )
28
 
29
- st.write("This tool is multilingual. Simply type in your language.")
 
 
30
 
31
  # --- AI CONFIGURATION ---
32
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
@@ -55,6 +48,10 @@ if st.button("Ask Mleity >>>--->"):
55
  else:
56
  st.warning("Call Me Directly on +201007590100")
57
 
 
 
 
 
58
  st.markdown("---")
59
  st.caption("Powered by www.mesc.ltd")
60
  st.caption("+2033950347 / 8")
@@ -62,5 +59,5 @@ st.caption("+201007590100")
62
 
63
  st.markdown(
64
  '<h3>Copy Write For <span style="color:red;">[المحمدون]</span></h3>',
65
- unsafe_allow_html=True, layout="right"
66
  )
 
13
  pass # If no logo, it just skips this part quietly
14
 
15
  # --- HEADER SECTION WITH CUSTOM COLOR ---
16
+ st.title('<h3>🌐<span style="color:red;">[MESC]</span>Ltd.</h3>' ,
17
+ unsafe_allow_html=True
 
 
 
 
 
 
 
 
 
18
  )
19
 
20
+
21
+
22
+ st.write("Write in your Language to get understandable answers.")
23
 
24
  # --- AI CONFIGURATION ---
25
  API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
 
48
  else:
49
  st.warning("Call Me Directly on +201007590100")
50
 
51
+
52
+
53
+
54
+
55
  st.markdown("---")
56
  st.caption("Powered by www.mesc.ltd")
57
  st.caption("+2033950347 / 8")
 
59
 
60
  st.markdown(
61
  '<h3>Copy Write For <span style="color:red;">[المحمدون]</span></h3>',
62
+ unsafe_allow_html=True,
63
  )