Add server_name in launch function for Docker support
Browse files
src/synthetic_dataset_generator/__init__.py
CHANGED
@@ -17,7 +17,7 @@ def launch(*args, **kwargs):
|
|
17 |
Parameters: https://www.gradio.app/docs/gradio/tabbedinterface
|
18 |
"""
|
19 |
from synthetic_dataset_generator.app import demo
|
20 |
-
return demo.launch(*args, **kwargs)
|
21 |
|
22 |
|
23 |
launch.__doc__ = TabbedInterface.launch.__doc__
|
|
|
17 |
Parameters: https://www.gradio.app/docs/gradio/tabbedinterface
|
18 |
"""
|
19 |
from synthetic_dataset_generator.app import demo
|
20 |
+
return demo.launch(*args, server_name="0.0.0.0", **kwargs)
|
21 |
|
22 |
|
23 |
launch.__doc__ = TabbedInterface.launch.__doc__
|