Sean Hamill commited on
Commit
108ebd3
·
1 Parent(s): 9290c9c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def pdf_to_text(file_obj, progress=gr.Progress()):
56
  f.close()
57
  progress(0.9, desc="Azure OpenAI Magic...")
58
  #save the result.content in a text file
59
- # generate random stringsdsd dawhdidsd dwdwdiwhd
60
  import random, string
61
  with open("data/" + ''.join(random.choices(string.ascii_uppercase + string.digits, k = 10)) + ".txt", "w") as f:
62
  f.write(str(result.content))
 
56
  f.close()
57
  progress(0.9, desc="Azure OpenAI Magic...")
58
  #save the result.content in a text file
59
+ # generate random stringsdsd dawhdidsd nvjhv dwdwdiwhd
60
  import random, string
61
  with open("data/" + ''.join(random.choices(string.ascii_uppercase + string.digits, k = 10)) + ".txt", "w") as f:
62
  f.write(str(result.content))