Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -12,10 +12,8 @@ iface = gr.Interface(
|
|
| 12 |
fn=run_command,
|
| 13 |
inputs="text",
|
| 14 |
outputs="text",
|
| 15 |
-
#live=True,
|
| 16 |
title="Command Output Viewer",
|
| 17 |
description="Enter a command and view its output.",
|
| 18 |
-
|
| 19 |
)
|
| 20 |
|
| 21 |
-
iface.launch()
|
|
|
|
| 12 |
fn=run_command,
|
| 13 |
inputs="text",
|
| 14 |
outputs="text",
|
|
|
|
| 15 |
title="Command Output Viewer",
|
| 16 |
description="Enter a command and view its output.",
|
|
|
|
| 17 |
)
|
| 18 |
|
| 19 |
+
iface.launch(server_name="0.0.0.0", server_port=7860)
|