lkw99 commited on
Commit
52c0bb9
·
verified ·
1 Parent(s): 0da2429

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +2 -8
  2. app.py +6 -0
README.md CHANGED
@@ -1,12 +1,6 @@
1
  ---
2
- title: Echo Chatbot
3
- emoji: 🌍
4
- colorFrom: purple
5
- colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 4.37.2
8
- app_file: app.py
9
- pinned: false
10
  ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: echo-chatbot
3
+ app_file: app.py
 
 
4
  sdk: gradio
5
  sdk_version: 4.37.2
 
 
6
  ---
 
 
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def slow_echo(message, history):
4
+ return message
5
+
6
+ demo = gr.ChatInterface(slow_echo).queue().launch()