osanseviero's picture
Update app.py
9ef5d40
raw
history blame
241 Bytes
import gradio as gr
import time
def generate():
text = "Hello, this is a demo without using streaming that emulates a model"
time.sleep(2.4)
return text
gr.Interface(
generate,
inputs=None,
outputs="text"
).launch()