m7n commited on
Commit
71365a6
·
1 Parent(s): 4328f9b

cheger pder

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -37,7 +37,6 @@ def predict(request: gr.Request,text_input):
37
  </html>
38
  """)
39
  # file_path = static_dir / file_name
40
- os.chmod(file_path, 0o644)
41
  iframe = f'<iframe src="/file={file_name}" width="100%" height="500px"></iframe>'
42
  link = f'<a href="/file={file_name}" target="_blank">{file_name}</a>'
43
  print("Serving file at:", f"/file={file_path}")
 
37
  </html>
38
  """)
39
  # file_path = static_dir / file_name
 
40
  iframe = f'<iframe src="/file={file_name}" width="100%" height="500px"></iframe>'
41
  link = f'<a href="/file={file_name}" target="_blank">{file_name}</a>'
42
  print("Serving file at:", f"/file={file_path}")