Giter Site home page Giter Site logo

Comments (3)

flaryx32 avatar flaryx32 commented on July 26, 2024

I fixed it by changing in every file needed with this from gql.transport.websockets import WebsocketsTransport.

from ai-dungeon-cli.

Unknown-Negotiator avatar Unknown-Negotiator commented on July 26, 2024

I fixed it by changing in every file needed with this from gql.transport.websockets import WebsocketsTransport.

Yeah, it works. Incorrect import commands are present in two files (was working in the Google colab):

  1. /usr/local/lib/python3.8/dist-packages/ai_dungeon_cli/impl/api/client.py
  2. /usr/local/lib/python3.8/dist-packages/ai_dungeon_cli/init.py

The package itself was installed using "pip install ai-dungeon-cli". Fix this one please.

from ai-dungeon-cli.

p3r7 avatar p3r7 commented on July 26, 2024

ahem, the APIs of AI fungeon changed a bunch of times since last commit and we didn't catch up.

i'm highly dubbitative that fixing import paths would be enough to put back this thing in a working state.

(those "wrong" import paths where "right" at a time put gql pushed over an existing version tag, fwiw)

furthermore, it seems that AIDungeon as evolved to include features that'd be close to impossible to have in a pure CLI tool (image generation) + others that'd require moving to libcurses.

so, i guess that unless someone really wants to kickstart re-reverse engineering the new APIs this project should be archived.

furthermore i could repurpose it for this thing called, you know, ChatGPT.

from ai-dungeon-cli.

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.