Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -32,7 +32,7 @@ def transcribe(background_tasks: BackgroundTasks, file: UploadFile = File(...)):
|
|
32 |
|
33 |
@app.get("/")
|
34 |
def read_root():
|
35 |
-
file_path = "/
|
36 |
with open(file_path, "w") as file:
|
37 |
file.write("¡Hola, mundo!")
|
38 |
return {"text": "World!"}
|
|
|
32 |
|
33 |
@app.get("/")
|
34 |
def read_root():
|
35 |
+
file_path = "/home/user/data/new_file.txt"
|
36 |
with open(file_path, "w") as file:
|
37 |
file.write("¡Hola, mundo!")
|
38 |
return {"text": "World!"}
|