Mattia2700 commited on
Commit
3351080
·
1 Parent(s): 6411c28

fix: use os.system

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
 
7
  def load_mesh(mesh_file_name):
8
  try:
9
- subprocess.run(["cd", "text2room", "&&", "python", "generate_scene.py"])
10
  except Exception as e:
11
  print(e)
12
  search_files(".ply")
 
6
 
7
  def load_mesh(mesh_file_name):
8
  try:
9
+ os.system("cd text2room && python3 text2room.py")
10
  except Exception as e:
11
  print(e)
12
  search_files(".ply")