Spaces:
Runtime error
Runtime error
Commit
·
f2f8d4f
1
Parent(s):
c22d82f
chore: add prints
Browse files
app.py
CHANGED
@@ -5,7 +5,13 @@ import gradio as gr
|
|
5 |
|
6 |
|
7 |
def load_mesh(mesh_file_name):
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
search_files(".ply")
|
10 |
return mesh_file_name
|
11 |
|
|
|
5 |
|
6 |
|
7 |
def load_mesh(mesh_file_name):
|
8 |
+
with open('requirements.txt') as f:
|
9 |
+
requirements = f.read()
|
10 |
+
print(requirements)
|
11 |
+
try:
|
12 |
+
subprocess.run(["python", "text2room/generate_scene.py"])
|
13 |
+
except Exception as e:
|
14 |
+
print(e)
|
15 |
search_files(".ply")
|
16 |
return mesh_file_name
|
17 |
|