Daryl Fung commited on
Commit
03c0d73
·
1 Parent(s): 39b73df

fix folder new directory

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  from keybert import KeyBERT
 
3
  import spacy
4
  import string
5
  from spacy import displacy
@@ -14,6 +15,7 @@ from word import show_gram_plot
14
  nlp = spacy.load("en_core_web_sm")
15
 
16
  def greet(name, descriptions):
 
17
  outputs = []
18
  descriptions = descriptions.translate(str.maketrans('', '', string.punctuation))
19
 
 
1
  import gradio as gr
2
  from keybert import KeyBERT
3
+ import os
4
  import spacy
5
  import string
6
  from spacy import displacy
 
15
  nlp = spacy.load("en_core_web_sm")
16
 
17
  def greet(name, descriptions):
18
+ os.makedirs(f'results/{name}', exist_ok=True)
19
  outputs = []
20
  descriptions = descriptions.translate(str.maketrans('', '', string.punctuation))
21