Giter Club home page Giter Club logo

dalle-service's Introduction

Dalle-service

This is a simple front + back making it easy to use DALL-E models

image

Another option is to use the gradio demo

Running the back on google colab

If you want to run the backend on google colab, you can run this notebook

You can then use the gh pages front with an url such as https://rom1504.github.io/dalle-service?back=https://XXXX.loca.lt

Running the back myself

First follow back (you may choose to use https://ngrok.com/ to expose your locally running backend)

Then put your backend url in https://rom1504.github.io/dalle-service/

You can share an url such as https://rom1504.github.io/dalle-service?back=https://yourbackend.com

Runnning the back and the front

If you want to run everything yourself, you can go to back then to front

What Dalle models can I use ?

You can either train your model yourself with DALL-E

Or use a pretrained one from https://github.com/robvanvolt/DALLE-models/tree/main/models/taming_transformer

dalle-service's People

Contributors

johnpaulbin avatar rom1504 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dalle-service's Issues

Update to dalle_back.ipynb

#@title # Setup, run this once
from IPython.display import clear_output
!sudo apt-get -y install llvm-9-dev cmake
!pip install Deepspeed
!npm install -g localtunnel
clear_output()
%cd /content/
!pip install keras==2.4.0 Flask==1.1.2 Flask-Cors==3.0.9 Flask-RESTful==0.3.8 dalle-pytorch==0.13.4 tqdm triton==0.4.2
!git clone https://github.com/rom1504/dalle-service.git
clear_output()
print("Finished setup.")

dalle-pytorch version, service not working

dalle-pytorch version has been updated, and the weights from the checkpoint is different from the model.
Version dalle-pytorch==0.14.3 works. Consider updating requirements.txt

I've run the backend server, and entered the url into your front url.
The url loads fine, but when I hit enter, nothing comes up even though I'd waited quite a while

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.