Spaces:
Sleeping
Sleeping
JM: add raw
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import subprocess
|
| 3 |
|
| 4 |
def salut(nom):
|
| 5 |
-
with open("/home/user/app/data.txt", "w") as file:
|
| 6 |
p = subprocess.run(["pwd"], capture_output=True)
|
| 7 |
file.write(str(p.stdout))
|
| 8 |
print("##### " + str(p.stdout) + " #####")
|
|
|
|
| 2 |
import subprocess
|
| 3 |
|
| 4 |
def salut(nom):
|
| 5 |
+
with open(r"/home/user/app/data.txt", "w") as file:
|
| 6 |
p = subprocess.run(["pwd"], capture_output=True)
|
| 7 |
file.write(str(p.stdout))
|
| 8 |
print("##### " + str(p.stdout) + " #####")
|