bluenevus commited on
Commit
be42d50
·
verified ·
1 Parent(s): 7425d7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def generate_podcast_script(api_key, prompt, uploaded_file, duration, num_hosts)
41
 
42
  combined_content = prompt or ""
43
  if uploaded_file:
44
- file_content = uploaded_file.read().decode('utf-8')
45
  combined_content += "\n" + file_content if combined_content else file_content
46
 
47
  num_hosts = int(num_hosts) # Convert to integer
 
41
 
42
  combined_content = prompt or ""
43
  if uploaded_file:
44
+ file_content = uploaded_file.decode('utf-8')
45
  combined_content += "\n" + file_content if combined_content else file_content
46
 
47
  num_hosts = int(num_hosts) # Convert to integer