elinstallation commited on
Commit
57e5e8e
·
verified ·
1 Parent(s): 2b3510e

Coded brainrot function

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -1,10 +1,14 @@
1
  import gradio as gr
 
2
 
3
- def echo(message, history):
4
- return message
5
-
6
 
7
- chatbot = gr.ChatInterface(echo)
 
 
 
 
8
  #declaring chatbot
9
 
10
  chatbot.launch()
 
1
  import gradio as gr
2
+ import random
3
 
4
+ #def echo(message, history):
5
+ # return message
 
6
 
7
+ def brainrot(message, history):
8
+ return random.choice(["skibidi", "sigma", "alpha", "yo", "gurt"])
9
+ print("hola")
10
+
11
+ chatbot = gr.ChatInterface(brainrot, type = 'messages')
12
  #declaring chatbot
13
 
14
  chatbot.launch()