rande commited on
Commit
1266440
1 Parent(s): 617f015

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -1,3 +1,12 @@
1
  import gradio as gr
 
 
 
 
 
 
 
 
 
2
 
3
- gr.load("models/ljvmiranda921/tl_calamancy_lg").launch(share=True)
 
1
  import gradio as gr
2
+ import time
3
+ import gradio as gr
4
+
5
+ gr.load("models/ljvmiranda921/tl_calamancy_lg").launch(share=True)
6
+
7
+ def slow_echo(message, history):
8
+ for i in range(len(message)):
9
+ time.sleep(0.05)
10
+ yield "You typed: " + message[: i+1]
11
 
12
+ demo = gr.ChatInterface(slow_echo).queue()