File size: 294 Bytes
4778916
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from fastapi import FastAPI
import gradio as gr
import torch
from diffusers import DiffusionPipeline
import uvicorn

description = "Image generation with GPT-2"
title = "IMAGE GENERATION MACHINE"

interface = gr.Interface.load('Lykon/DreamShaper', 'huggingface')

interface.launch(share = True)