Comments (3)
I'm not sure I understand the request, could you please add a bit more context? What would the new behavior be?
from oobabot.
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.
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)
- [BUG] Different Outputs Streaming (More Coherent) vs Single Message (Writes Transcript) HOT 8
- What would cause the bot responses to be drastically different than that of the webui? HOT 4
- Won't connect to Stable Diffusion HOT 5
- Having Autobooga enabled just results in oobabot failing HOT 6
- Stripping newline characters breaks proper response handling... HOT 2
- Feature Request (or bug?): Prevent splitting response when code is involved.
- Feature Request: Internet capabilities
- Feature request: Reading files
- Empty Response HOT 7
- Circular Import issue HOT 2
- Unable to connect HOT 1
- API Changes HOT 17
- AttributeError: 'Persona' object has no attribute 'wakeword_patterns'
- Require mention each time HOT 2
- oobabot not working HOT 13
- Cannot import name 'GenericAlias' from partially initialized module 'types' -- circular import? HOT 2
- Translation
- discord token HOT 3
- gradio throws errors - outdated package? HOT 1
- Unable to connect. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oobabot.