Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native | ApiError: INTERNAL_ERROR: 'bytes' #85

Open
tarikfp opened this issue Aug 25, 2024 · 0 comments
Open

React Native | ApiError: INTERNAL_ERROR: 'bytes' #85

tarikfp opened this issue Aug 25, 2024 · 0 comments

Comments

@tarikfp
Copy link

tarikfp commented Aug 25, 2024

Following code throws ApiError: INTERNAL_ERROR: 'bytes' in a react native environment. I wonder if fal.ai still support react-native?

It used to work perfectly with sdxl-turbo-realtime-model model, apparently, this model does not even exist anymore all of a sudden 👀

Any suggestions for a similar model to sdxl-turbo-realtime-model ?

// using server-proxy
 fal.config({
   proxyUrl:
    "server-proxy-url,
 });

// implementation
  const { send } = fal.realtime.connect<LcmInput, LcmOutput>(
    "fal-ai/fast-lcm-diffusion",
    {
      onError(error) {
      // error being thrown here...
        console.log(error);
      },
      onResult: (result) => {
        console.log(result);
      },
    },
  );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant