Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -277,7 +277,7 @@ if __name__ == "__main__":
|
|
277 |
)
|
278 |
|
279 |
try:
|
280 |
-
interface.launch(
|
281 |
except Exception as e:
|
282 |
print(f"\033[91mERROR\033[0m: Failed to launch interface: {e}")
|
283 |
print("\033[93mTIP\033[0m: If you're running in a remote environment or container, try setting additional parameters:")
|
|
|
277 |
)
|
278 |
|
279 |
try:
|
280 |
+
interface.launch() # Enable sharing to avoid localhost access issues
|
281 |
except Exception as e:
|
282 |
print(f"\033[91mERROR\033[0m: Failed to launch interface: {e}")
|
283 |
print("\033[93mTIP\033[0m: If you're running in a remote environment or container, try setting additional parameters:")
|