Fric7ion commited on
Commit
79a642e
1 Parent(s): 4e1a897

Create BasicChatbot.py

Browse files
Files changed (1) hide show
  1. BasicChatbot.py +9 -0
BasicChatbot.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import time
2
+ import gradio as gr
3
+
4
+ def echo(message, history):
5
+ for i in range(len(message)):
6
+ yield "You typed: " + message[: i+1]
7
+
8
+
9
+ gr.ChatInterface(echo).launch()