File size: 281 Bytes
6f612df 1266440 6f612df 1266440 |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
import time
gr.load("models/ljvmiranda921/tl_calamancy_lg").launch(share=True)
def slow_echo(message, history):
for i in range(len(message)):
time.sleep(0.05)
yield "You typed: " + message[: i+1]
demo = gr.ChatInterface(slow_echo).queue() |