Code Monkey home page Code Monkey logo

Comments (3)

chrisrude avatar chrisrude commented on June 25, 2024

I'm not sure I understand the request, could you please add a bit more context? What would the new behavior be?

from oobabot.

sidonsoft avatar sidonsoft commented on June 25, 2024

currently if you try to connect to the API on port 5000, the non-streaming API port, oobabot doesn't work.
if you use --share --public-api the gradio live link also uses the non-streaming API port, so oobabot doesn't work

this would allow oobabot to connect to the API of a oobabooga server that doesn't have a publically accessible ip using gradio
live

2023-05-18 06:49:16,466 INFO Oobabooga is at ws://2b79de1907fca22c21.gradio.live/ 2023-05-18 06:49:18,855 ERROR Could not connect to Oobabooga server: [ws://2b79de1907fca22c21.gradio.live/] 2023-05-18 06:49:18,855 ERROR Please check the URL and try again. 2023-05-18 06:49:18,855 ERROR Reason: 403, message='Invalid response status', url=URL('https://2b79de1907fca22c21.gradio.live:443/api/v1/stream')

from oobabot.

chrisrude avatar chrisrude commented on June 25, 2024

Got it. This might be a good feature for someone to contribute to -- it would be pretty isolated to the ooba_client.py (plus adding the related settings). Anyone, let me know if you want tips on how to approach it!

Otherwise, I'd rank it later on the roadmap, just since I suspect most people are self-hosting their own Oobabooga server. But feel free to weigh in if this isn't the case for you, it would help prioritize this work over other features.

from oobabot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.