khaled06 commited on
Commit
a4c8a63
1 Parent(s): e800480

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,10 +21,11 @@ def q_a(lang,text,question):
21
 
22
 
23
 
24
- app = gr.Interface(
25
  fn= q_a,
26
  inputs=[gr.Radio(['Arabic', 'English'], label='Select Language',value= 'Arabic'),
27
  gr.Textbox(label = 'enter text',lines=10),
28
  gr.Textbox(label = 'enter question')],
29
  outputs=gr.Textbox(label = 'answer')
30
  )
 
 
21
 
22
 
23
 
24
+ demo = gr.Interface(
25
  fn= q_a,
26
  inputs=[gr.Radio(['Arabic', 'English'], label='Select Language',value= 'Arabic'),
27
  gr.Textbox(label = 'enter text',lines=10),
28
  gr.Textbox(label = 'enter question')],
29
  outputs=gr.Textbox(label = 'answer')
30
  )
31
+ demo.launch()