import subprocess place changed
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import gradio as gr
|
|
7 |
import zipfile
|
8 |
import os
|
9 |
import pandas as pd
|
|
|
10 |
|
11 |
# query_text = "dogs on the grass"
|
12 |
image_path = "./Images"
|
@@ -26,7 +27,7 @@ output1 = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
|
26 |
print("result of pwd command")
|
27 |
print(output1) # result => /home/user/app
|
28 |
|
29 |
-
|
30 |
# shell command to run
|
31 |
cmd = "ls -l"
|
32 |
output1 = subprocess.check_output(cmd, shell=True).decode("utf-8")
|
|
|
7 |
import zipfile
|
8 |
import os
|
9 |
import pandas as pd
|
10 |
+
import subprocess
|
11 |
|
12 |
# query_text = "dogs on the grass"
|
13 |
image_path = "./Images"
|
|
|
27 |
print("result of pwd command")
|
28 |
print(output1) # result => /home/user/app
|
29 |
|
30 |
+
|
31 |
# shell command to run
|
32 |
cmd = "ls -l"
|
33 |
output1 = subprocess.check_output(cmd, shell=True).decode("utf-8")
|