bestroi commited on
Commit
12b4792
Β·
1 Parent(s): 270b60c

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -17
app.py DELETED
@@ -1,17 +0,0 @@
1
- import random
2
- import gradio as gr
3
-
4
- # Define a list of meow emojis
5
- meow_emojis = ["😺", "😸", "😻", "😽", "πŸ™€", "😼", "😾", "🐱", "🐈", "😹", "😿", "🐾", "😺😺", "🌟🐾", "🐱🐱", "😻😻", "😺🐈", "😻🌟", "😸🐾", "πŸ™€πŸŒŸ", "😽🐾", "😿🐱"]
6
-
7
- def random_meow_response(message, history):
8
- # Choose a random meow emoji from the list
9
- meow = random.choice(meow_emojis)
10
- return meow
11
-
12
- # Create a Gradio chat interface with the custom response function
13
- demo = gr.ChatInterface(random_meow_response,
14
- theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink))
15
-
16
- # Launch the chat interface
17
- demo.launch()