Skip to content

Commit

Permalink
Refactor PDF file reading in generate_audio function
Browse files Browse the repository at this point in the history
  • Loading branch information
knowsuchagency committed Jun 9, 2024
1 parent 1d51479 commit 65bdaaf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ def generate_audio(file: str, openai_api_key: str = None) -> bytes:
inputs=[
gr.File(
label="PDF",
# type="binary",
),
gr.Textbox(
label="OpenAI API Key",
Expand Down

0 comments on commit 65bdaaf

Please sign in to comment.