sam2ai commited on
Commit
00fc1ec
1 Parent(s): fd2291c

Synced repo using 'sync_with_huggingface' Github Action

Browse files
__pycache__/custom_prompt_template.cpython-311.pyc CHANGED
Binary files a/__pycache__/custom_prompt_template.cpython-311.pyc and b/__pycache__/custom_prompt_template.cpython-311.pyc differ
 
app.py CHANGED
@@ -15,8 +15,73 @@ from custom_prompt_template import InstructionGenerationTemplate, AnswerGenerati
15
 
16
  st.set_page_config(page_title="LLM instruction Generator")
17
 
18
- st.sidebar.success("Select a page above")
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  # function for the odia stoplists justext
22
  def odia_stoplist():
 
15
 
16
  st.set_page_config(page_title="LLM instruction Generator")
17
 
 
18
 
19
+ # sidebar content
20
+ with st.sidebar:
21
+ st.markdown("""
22
+ <style>
23
+ [data-testid=stImage]{
24
+ display: block;
25
+ margin-left: auto;
26
+ margin-right: auto;
27
+ padding-bottom: 40px;
28
+ }
29
+ </style>
30
+ """, unsafe_allow_html=True)
31
+ st.image(image="olive_farm.png", width=100)
32
+
33
+ st.markdown("""
34
+ <style>
35
+ [data-testid=stMarkdownContainer]{
36
+ text-align: justify;
37
+
38
+ }
39
+ </style>
40
+ """, unsafe_allow_html=True)
41
+ st.markdown("""OliveFarm is a cutting-edge web application crafted by the innovative minds at OdiaGenAI.
42
+ It's designed to effortlessly generate LLM (Language Model) instruction sets in Indic languages.
43
+ Presently, it offers support for Hindi and Odia, with seamless scalability to incorporate additional
44
+ languages on the horizon.""")
45
+ st.markdown('''
46
+ <style>
47
+ [data-testid="stMarkdownContainer"] ul{
48
+ padding-left:40px;
49
+ }
50
+ </style>
51
+ ''', unsafe_allow_html=True)
52
+ st.markdown(
53
+ """
54
+ This versatile tool accommodates inputs from a variety of sources, including:
55
+ - URLs,
56
+ - PDF documents,
57
+ - Plain text.
58
+ """
59
+ )
60
+ st.markdown("""
61
+ Additionally, OliveFarm features a collection of pre-existing templates, powered by ChatGPT,
62
+ to streamline the process of generating instruction sets. Experience the future of Indic
63
+ language instruction with OliveFarm!
64
+
65
+ Contributors:
66
+ - AR Kamaldeen (KIIT University, India)
67
+ - SK Shahid (Silicon Institute of Technology, India)
68
+ - Sambit Sekhar (Odia Generative AI, India)
69
+ - Dr. Shantipriya Parida (Silo AI, Finland)
70
+
71
+ """)
72
+ st.write("#")
73
+ st.markdown(
74
+ """
75
+ <style>
76
+ .center-text {
77
+ text-align: center;
78
+ }
79
+ </style>
80
+ <div class="center-text">
81
+ © 2023 Odia Generative AI
82
+ </div>
83
+ """
84
+ , unsafe_allow_html=True)
85
 
86
  # function for the odia stoplists justext
87
  def odia_stoplist():