karimouda commited on
Commit
6eebd42
·
verified ·
1 Parent(s): cd7cf50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +66 -1
app.py CHANGED
@@ -114,7 +114,7 @@ demo = gr.ChatInterface(
114
  stop_btn=None,
115
  examples=[
116
  ["Hello there! How are you doing?"],
117
- [""""
118
  أجب على السؤال بناءً على السياق أدناه
119
 
120
  السياق: تشمل الاتفاقيات رسوم حمل سنوية ثابت قدها 30 مليون جنيه إسترليني للقنوات نظراً لأن كلاً من مزوديها قادرين على تأمين دفعات إضافية إذا ما حققت هذه القنوات أهدافاً متعلقةً بالأداء. لا يوجد حالياً ما يشير إلى ما إذا كان الاتفاق الجديد يشمل محتوىً إضافياً كالفيديو عند الطلب والدقة العالية ، كذلك الذي سبق أن قدمته بي سكاي بي. وقد وافقت كل من بي سكاي بي و فيرجين ميديا على إنهاء الدعاوى القضائية بالمحكمة العليا ضد بعضهما بشأن معاليم الحمل التي تخص قنواتهما الأساسية.
@@ -123,6 +123,71 @@ demo = gr.ChatInterface(
123
 
124
  الإجابة:
125
  """],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  ],
127
  cache_examples=False,
128
  type="messages",
 
114
  stop_btn=None,
115
  examples=[
116
  ["Hello there! How are you doing?"],
117
+ ["""
118
  أجب على السؤال بناءً على السياق أدناه
119
 
120
  السياق: تشمل الاتفاقيات رسوم حمل سنوية ثابت قدها 30 مليون جنيه إسترليني للقنوات نظراً لأن كلاً من مزوديها قادرين على تأمين دفعات إضافية إذا ما حققت هذه القنوات أهدافاً متعلقةً بالأداء. لا يوجد حالياً ما يشير إلى ما إذا كان الاتفاق الجديد يشمل محتوىً إضافياً كالفيديو عند الطلب والدقة العالية ، كذلك الذي سبق أن قدمته بي سكاي بي. وقد وافقت كل من بي سكاي بي و فيرجين ميديا على إنهاء الدعاوى القضائية بالمحكمة العليا ضد بعضهما بشأن معاليم الحمل التي تخص قنواتهما الأساسية.
 
123
 
124
  الإجابة:
125
  """],
126
+ ["""
127
+ Answer the question based on the context below:
128
+ Context:
129
+ For other people named Joseph Aoun, see Joseph Aoun (disambiguation).
130
+ His Excellency
131
+ Joseph Aoun
132
+ جوزيف عون
133
+
134
+ Aoun in 2025
135
+ 14th President of Lebanon
136
+ Incumbent
137
+ Assumed office
138
+ 9 January 2025
139
+ Prime Minister Najib Mikati
140
+ Nawaf Salam
141
+ Preceded by Najib Mikati (acting)
142
+ Michel Aoun
143
+ 14th Commander of the Lebanese Armed Forces
144
+ Incumbent
145
+ Assumed office
146
+ 8 March 2017
147
+ President
148
+ Michel Aoun
149
+ Najib Mikati (acting)
150
+ Himself
151
+ Preceded by Jean Kahwaji
152
+ Personal details
153
+ Born 10 January 1964 (age 61)
154
+ Sin el Fil, Mount Lebanon, Lebanon
155
+ Spouse Nehmat Nehmeh
156
+ Children 2
157
+ Education Lebanese American University (BA)
158
+ Lebanese Army Military Acad.
159
+ Military service
160
+ Allegiance Lebanon
161
+ Branch Lebanese Army
162
+ Service years 1983–present
163
+ Rank General
164
+ Wars Lebanese Civil War
165
+ Syrian civil war spillover in Lebanon
166
+ Joseph Khalil Aoun (/aʊn/; Arabic: جوزيف خليل عون; born 10 January 1964) is a Lebanese politician and general who became the 14th president of Lebanon on 9 January 2025.[1][2] He was appointed as the 14th Commander of the Lebanese Armed Forces in 2017.
167
+
168
+ Early life and education
169
+ Aoun was born on 10 January 1964, in the Beirut suburb of Sin el-Fil in the Metn District, the child of Hoda Ibrahim Makhlouta and Khalil Aoun.[3] He completed secondary school at the Collège des Frères Mont La Salle. His family is originally from the town of Al-Aaishiyah, Southern Lebanon.
170
+
171
+ Aoun enrolled at the Lebanese American University to pursue a bachelor's degree in political science and international affairs, which he earned in 2007. He also holds a bachelor's degree in military science from the Lebanese Army Military Academy.[4][5][6]
172
+
173
+ Military career
174
+ Aoun joined the Lebanese army in 1983. He trained abroad, especially in the United States and Syria. He also underwent counter-terrorism training in the United States in 2008 and Lebanon in 2013. He became head of the army's 9th Infantry Brigade in 2015.
175
+
176
+ Lebanese Civil War
177
+ In 1990, Aoun served as a lieutenant under the command of the Lebanese Army's Fawj al-Maghaweer (Arabic: فوج المغاوير, The Commando Regiment) under leader Bassam Gergi at the Adma barracks. During the Adma Battle in the Civil War's Liberation War's Elimination War, Gergi was killed and Aoun took over leadership within the Maghaweer group.[7][8]
178
+
179
+ Commander of Lebanese Armed Forces
180
+ In 2015, Aoun was appointed commander of the 9th Brigade deployed on the border with Israel. On 8 March 2017, the Lebanese government appointed him commander-in-chief of the Lebanese Armed Forces (LAF), replacing Jean Kahwaji.[9]
181
+
182
+ Aoun led battles against the Islamic State campaign in eastern Lebanon, where hundreds of Islamic State and Al-Nusra Front militants were entrenched on the border with Syria.[5] On 19 August 2017, he commanded the Jroud Dawn Operation, a successful offensive to expel the militants from their strongholds.[10]
183
+
184
+ Following protests in Lebanon and the political deadlock, General Aoun spoke out on 8 March 2021 criticising the Lebanese liquidity crisis and its impact on the military. His speech went viral on social media.[11]
185
+
186
+ On 15 December 2023, the Lebanese parliament voted to extend Aoun's term for one year, which was mainly endorsed by the Lebanese Opposition, the Amal Movement and the Progressive Socialist Party.[12] During this time, he led the LAF through the 2024 Israeli invasion of Lebanon. On 28 November 2024, parliament voted to extend his term a second time.[13]
187
+
188
+ Question: is Joseph Aoun the president of Syria?
189
+ Answer:
190
+ """]
191
  ],
192
  cache_examples=False,
193
  type="messages",