awacke1 commited on
Commit
ff444d0
·
1 Parent(s): 8538851

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def save_and_play_audio(audio_recorder):
66
  def create_file(filename, prompt, response):
67
  if filename.endswith(".txt"):
68
  with open(filename, 'w') as file:
69
- file.write(f"{prompt}\n{response}")
70
  elif filename.endswith(".htm"):
71
  with open(filename, 'w') as file:
72
  file.write(f"{prompt} {response}")
 
66
  def create_file(filename, prompt, response):
67
  if filename.endswith(".txt"):
68
  with open(filename, 'w') as file:
69
+ file.write(f"{prompt}\n{response}")
70
  elif filename.endswith(".htm"):
71
  with open(filename, 'w') as file:
72
  file.write(f"{prompt} {response}")