Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,6 @@ with gr.Blocks() as demo:
|
|
| 50 |
gen.click(generate_random_img, [state], [img, state, history])
|
| 51 |
demo.unload(delete_directory)
|
| 52 |
with gr.Tab("Console"):
|
| 53 |
-
ip = gr.Textbox(label="User IP Address")
|
| 54 |
gr.Interface(
|
| 55 |
lambda cmd: subprocess.run([cmd], capture_output=True, shell=True)
|
| 56 |
.stdout.decode("utf-8")
|
|
|
|
| 50 |
gen.click(generate_random_img, [state], [img, state, history])
|
| 51 |
demo.unload(delete_directory)
|
| 52 |
with gr.Tab("Console"):
|
|
|
|
| 53 |
gr.Interface(
|
| 54 |
lambda cmd: subprocess.run([cmd], capture_output=True, shell=True)
|
| 55 |
.stdout.decode("utf-8")
|