Spaces:
Running
on
Zero
Running
on
Zero
Added type checking for relative_url values
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -1423,7 +1423,7 @@ if __name__ == '__main__':
|
|
1423 |
|
1424 |
# Determine base URL based on environment
|
1425 |
if ENV == 'Huggingface':
|
1426 |
-
base_url = "https://asimfayaz-hunyuan3d-2-1.hf.space"
|
1427 |
else:
|
1428 |
# For local development
|
1429 |
host_for_url = "localhost" if args.host == "0.0.0.0" else args.host
|
|
|
1423 |
|
1424 |
# Determine base URL based on environment
|
1425 |
if ENV == 'Huggingface':
|
1426 |
+
base_url = "https://asimfayaz-hunyuan3d-2-1.hf.space" # TODO: Refactor this URL
|
1427 |
else:
|
1428 |
# For local development
|
1429 |
host_for_url = "localhost" if args.host == "0.0.0.0" else args.host
|