yanielbf commited on
Commit
7e5e2c3
·
1 Parent(s): 2da7983

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 = "/code/data/new_file.txt"
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!"}