Rehman1603 commited on
Commit
499fcd8
1 Parent(s): 25d75b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -3,11 +3,11 @@ from main import predict_shortq,paraphrase,predict_mcq
3
  import gradio as gr
4
  import os
5
 
6
- os.system('!pip install git+https://github.com/boudinfl/pke.git')
7
- os.system('!python -m nltk.downloader universal_tagset')
8
- os.system('!python -m spacy download en')
9
- os.system('!wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz')
10
- os.system('!tar -xvf s2v_reddit_2015_md.tar.gz')
11
 
12
 
13
  def QuizGenerator(data,Choice):
 
3
  import gradio as gr
4
  import os
5
 
6
+ os.system('pip install git+https://github.com/boudinfl/pke.git')
7
+ os.system('python -m nltk.downloader universal_tagset')
8
+ os.system('python -m spacy download en')
9
+ os.system('wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz')
10
+ os.system('tar -xvf s2v_reddit_2015_md.tar.gz')
11
 
12
 
13
  def QuizGenerator(data,Choice):