Giter Club home page Giter Club logo

Comments (3)

coyotte508 avatar coyotte508 commented on May 23, 2024 1

also @coyotte508 is kebab-case a hard requirement in file name? i kinda liked the fact that a filename was the name of the main class or type (maybe too late to change though)

That's what I did during the migration for consistency / harmony with the rest of the files in the repo (only HfInfernece.ts breaks that rule) but up to @osanseviero @merveenoyan I guess if they want to change it.

In this case there are multiple types (WidgetExample but also WidgetExampleOutputLabels and so forth) so I don't think it's a problem to keep kebab case for a file with plenty of different definitions inside

from huggingface.js.

coyotte508 avatar coyotte508 commented on May 23, 2024

also cc @mishig25 who had comments about the widgets-example file placement (mayyyybe we could find a way to put it back in @huggingface/widgets with local dev imports)

from huggingface.js.

julien-c avatar julien-c commented on May 23, 2024

ok

the first part of the issue remains valid (move the WidgetExample part of model-data.ts to its own file (in the same folder))

from huggingface.js.

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.