CUTD commited on
Commit
267f551
·
verified ·
1 Parent(s): dfb5e53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -20,10 +20,10 @@ def generate_answer(question, context):
20
  return answer
21
 
22
  iface = gr.Interface(fn=generate_answer,
23
- inputs=[gr.Textbox(lines=2, placeholder="أدخل السؤال هنا..."),
24
- gr.Textbox(lines=5, placeholder="أدخل السياق هنا...")],
25
  outputs=gr.Textbox(),
26
- title="نظام الإجابة عن الأسئلة",
27
- description="اكتب سؤالك والسياق، وسيقوم النظام بتزويدك بالإجابة.")
28
 
29
  iface.launch()
 
20
  return answer
21
 
22
  iface = gr.Interface(fn=generate_answer,
23
+ inputs=[gr.Textbox(lines=2, placeholder="Enter Question Here..."),
24
+ gr.Textbox(lines=5, placeholder="Enter Context Here...")],
25
  outputs=gr.Textbox(),
26
+ title="Question Answering System",
27
+ description="Type in your question and context, and the system will provide you with an answer.")
28
 
29
  iface.launch()