Spaces:
Runtime error
Runtime error
Upload gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -103,7 +103,7 @@ def build_model_viewer_html(save_folder, height=660, width=790, textured=False):
|
|
| 103 |
f.write(template_html)
|
| 104 |
|
| 105 |
rel_path = os.path.relpath(output_html_path, SAVE_DIR)
|
| 106 |
-
iframe_tag = f'<iframe src="/static/{rel_path}" height="{height}" width="100%" frameborder="0"></iframe>'
|
| 107 |
print(
|
| 108 |
f'Find html file {output_html_path}, {os.path.exists(output_html_path)}, relative HTML path is /static/{rel_path}')
|
| 109 |
|
|
|
|
| 103 |
f.write(template_html)
|
| 104 |
|
| 105 |
rel_path = os.path.relpath(output_html_path, SAVE_DIR)
|
| 106 |
+
iframe_tag = f'<iframe src="https://nicolasg2523-picsto3d.hf.space/static/{rel_path}" height="{height}" width="100%" frameborder="0"></iframe>'
|
| 107 |
print(
|
| 108 |
f'Find html file {output_html_path}, {os.path.exists(output_html_path)}, relative HTML path is /static/{rel_path}')
|
| 109 |
|