Spaces:
Sleeping
Sleeping
AamirAli123
commited on
Commit
•
820635d
1
Parent(s):
5499d07
Update app.py
Browse files
app.py
CHANGED
@@ -191,7 +191,9 @@ custom_css = """
|
|
191 |
|
192 |
with gr.Blocks(gr.themes.Monochrome(), css=custom_css) as demo:
|
193 |
# Display introductory markdown content
|
194 |
-
gr.Markdown(f"<center>{markdown_content}</center>
|
|
|
|
|
195 |
# Layout elements in a row
|
196 |
with gr.Column():
|
197 |
|
@@ -217,7 +219,23 @@ with gr.Blocks(gr.themes.Monochrome(), css=custom_css) as demo:
|
|
217 |
# Tab for sentiment analysis results
|
218 |
with gr.Tab("Sentiments"):
|
219 |
output_sentiment_table = gr.Dataframe(label="Sediment Analysis")
|
220 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
# Connect button click to analysis function
|
222 |
submit_button.click(
|
223 |
display_results,
|
|
|
191 |
|
192 |
with gr.Blocks(gr.themes.Monochrome(), css=custom_css) as demo:
|
193 |
# Display introductory markdown content
|
194 |
+
gr.Markdown(f"""<center>{markdown_content}</center>
|
195 |
+
<p>**NOTE**: Below some txt file examples given. Makesure to upload the content should be as given below.</p>
|
196 |
+
""")
|
197 |
# Layout elements in a row
|
198 |
with gr.Column():
|
199 |
|
|
|
219 |
# Tab for sentiment analysis results
|
220 |
with gr.Tab("Sentiments"):
|
221 |
output_sentiment_table = gr.Dataframe(label="Sediment Analysis")
|
222 |
+
with gr.Column():
|
223 |
+
gr.Markdown(f"""
|
224 |
+
<p>
|
225 |
+
From a teacher: Aamir is an attentive student who actively participates in class discussions and demonstrates a strong understanding of the subject matter. However, there is room for improvement in completing assignments on time.
|
226 |
+
From a incharge: As an in-charge, I have noticed that Aamir is well-disciplined and follows instructions diligently. However, I encourage Aamir to seek clarification whenever necessary to ensure complete understanding of tasks.
|
227 |
+
From a co_supervisor: In my role as a co-supervisor, I have observed Aamir's dedication to their projects and their willingness to seek assistance when needed. I recommend Aamir to continue developing their research skills and explore more innovative approaches.
|
228 |
+
From a principal: Aamir has shown commendable progress in both academic and extracurricular activities. However, I would like to see Aamir take on more leadership roles and actively contribute to school initiatives.
|
229 |
+
</p>
|
230 |
+
<h3> OR </h3>
|
231 |
+
<p>
|
232 |
+
From a Supervisor: ABC shows remarkable attention to detail in their work, consistently delivering high-quality results. However, I've observed a need for improvement in time management, as some projects have missed deadlines.
|
233 |
+
From a Team Member: ABC is a great team player, always ready to lend a hand. Their collaborative spirit boosts our team's morale. On the downside, there are times when ABC seems hesitant to take initiative on new tasks.
|
234 |
+
From a Client: In our interactions, ABC has displayed excellent customer service skills. He is always polite and helpful. However, there's been an instance where he promised a follow-up but failed to do so in the agreed timeframe.
|
235 |
+
From a Department Head: ABC innovative approach to problem-solving has been a significant asset to our department. He need to work on their presentation skills, though, as they tend to be a bit unclear during departmental briefings.
|
236 |
+
From an Internal Service Provider (like IT Support): ABC is always respectful and appreciative of the support services. However, he often submit requests at the last minute, making it challenging to provide timely assistance.
|
237 |
+
</p>
|
238 |
+
""")
|
239 |
# Connect button click to analysis function
|
240 |
submit_button.click(
|
241 |
display_results,
|