Stanlito commited on
Commit
6f486ad
1 Parent(s): e5b5f0b

Delete main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -21
main.py DELETED
@@ -1,21 +0,0 @@
1
- import time
2
- import gradio as gr
3
-
4
-
5
- def slow_echo(message, history):
6
- for i in range(len(message)):
7
- time.sleep(0.3)
8
- yield "You typed: " + message[: i + 1]
9
-
10
-
11
- gr.ChatInterface(
12
- slow_echo,
13
- # chatbot=gr.Chatbot(height=200),
14
- # textbox=gr.Textbox(placeholder="Ask me a yes or no question"),
15
- description="Ask Yes Man any question",
16
- theme="soft",
17
- css="",
18
- examples=["Hello", "Am I cool?", "Are tomatoes vegetables?"],
19
- cache_examples=True,
20
- clear_btn="Clear",
21
- ).queue().launch()