apisforft / app.py
laxsvips's picture
Initial commit
3a79c61
raw
history blame
414 Bytes
import generate_text
import gradio
def generate_text():
result = chat.generate_text()
return result
generate_text_gr = gradio.Interface(
fn=generate_text,
inputs=None,
outputs="text",
title="Generate Character and Dialogue",
description="An API to check if the API is working"
)
genesis_app = gradio.TabbedInterface([generate_text_gr], ["Generate Character and Dialogue"])
genesis_app.launch()