a1 / app.py
Q4234's picture
Update app.py
711fde0
raw
history blame
278 Bytes
import gradio as gr
import ctransformers
class Z(object):
def __init__(self):
pass
def init(self):
pass
def greet(name):
return f'Hi {name}'
z = Z()
z.init()
iface = gr.Interface(fn=z.greet, inputs="text", outputs="text")
iface.launch()