gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
33.41k stars 2.53k forks source link

Custom Components CLI improvements #6354

Closed duerrsimon closed 11 months ago

duerrsimon commented 11 months ago

Following features are still missing

[project]
--
  | name = "gradio_molecule3d"
  | version = "0.0.1"  # set each time cc publish is called
  | description = "Molecule3D custom component to visualize pdb or sdf files" # gradio cc create
  | readme = "README.md"
  | license = "MIT" # gradio cc create
  | requires-python = ">=3.8" # gradio cc create
  | authors = [{ name = "Simon Dürr", email = "dev@simonduerr.eu" }] # gradio cc create
  | keywords = [
  | "machine learning",
  | "reproducibility",
  | "visualization",
  | "gradio",
  | "gradio custom component",
  | "gradio-template-File",
  | "protein"
  | ] # gradio cc create
freddyaboulton commented 11 months ago

Thanks @duerrsimon ! I like the idea of optionally setting more config via the cli.

BTW publish already supports accounts with 2fa. Use the username __token__ and the password is your API key. Will make this clearer.