File size: 224 Bytes
be2688f
519c85d
 
 
be2688f
 
 
 
2d53efa
be2688f
1
2
3
4
5
6
7
8
9
10
import gradio as gr
import torch

pipe = torch.hub.load('nateraw/image-generation:main', 'styleganv3', force_reload=True)

def fn(text):
    return text

iface = gr.Interface(fn, inputs='text', outputs='text')
iface.launch()