SinaRp commited on
Commit
15fe492
·
verified ·
1 Parent(s): cf48ce1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -21,12 +21,8 @@ iface = gr.Interface(
21
  gr.Slider(minimum=1, maximum=5, value=3, step=1, label="Number of questions")
22
  ],
23
  outputs=gr.Textbox(label="Generated Questions"),
24
- title="Question Generator",
25
- description="Generate questions from your text using AI",
26
- examples=[
27
- ["The Sun is the star at the center of the Solar System. It is a nearly perfect sphere of hot plasma, heated to incandescence by nuclear fusion reactions in its core.", 2],
28
- ["Machine learning is a subset of artificial intelligence that focuses on the use of data and algorithms to imitate the way that humans learn.", 3]
29
- ]
30
  )
31
 
32
  if __name__ == "__main__":
 
21
  gr.Slider(minimum=1, maximum=5, value=3, step=1, label="Number of questions")
22
  ],
23
  outputs=gr.Textbox(label="Generated Questions"),
24
+ title="Persian Question Generator",
25
+ description="Generate questions from your text using Fine-tuned mT5 model",
 
 
 
 
26
  )
27
 
28
  if __name__ == "__main__":