Skip to content

Bug: demo/gemini_audio_video/app.py gradio webpage shows Illegal header value b'Bearer ' #308

Description

@ahundt

I was trying to finish up #88 and I started out by running the current functionality on the main branch (not the pull request's code):

demo/gemini_audio_video/app.py launches, but when I try to hit record on the video I get the following popup in the web ui (nothing prints to terminal):

Illegal header value b'Bearer '

It looks like it might relate to this line:

"Authorization": f"Bearer {token}",
as that's the only instance of Bearer in fastrtc itself.

I already ruled out alternative causes like the gemini api key which is working. I think this is likely a fastrtc bug, but I'm not sure. Thanks for giving this a look.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions