pragyarama commited on
Commit
ae54023
·
verified ·
1 Parent(s): 430c6ed

add stuff to interface

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,12 +15,12 @@ def eight_ball(message, history):
15
  return random.choice(all_messages)
16
 
17
  def eight_ball_but_its_just_me(message, history):
18
- affirmative_messages=["ofc girl", "yesss omg", "manifesting", "defnitly ehhe"]
19
- neutral_messages=["uhhh lowk idk", "idek", "ur asking too much of me"]
20
  negative_messages=["bru nah", "stay delulu cuz its not gonna happen", "nuh uh"]
21
 
22
  all_messages=affirmative_messages+neutral_messages+negative_messages
23
  return random.choice(all_messages)
24
 
25
- chatbot = gr.ChatInterface(eight_ball_but_its_just_me, type='messages')
26
  chatbot.launch()
 
15
  return random.choice(all_messages)
16
 
17
  def eight_ball_but_its_just_me(message, history):
18
+ affirmative_messages=["ofc girl", "yesss omg", "defnitly ehhe"]
19
+ neutral_messages=["uhhh lowk idk", "idek", "manifesting", "ur asking too much of me"]
20
  negative_messages=["bru nah", "stay delulu cuz its not gonna happen", "nuh uh"]
21
 
22
  all_messages=affirmative_messages+neutral_messages+negative_messages
23
  return random.choice(all_messages)
24
 
25
+ chatbot = gr.ChatInterface(eight_ball_but_its_just_me, type="messages", title="magic 8ball but jst me heh", description="uhhh i gotchu i guess", theme="mgetz/Celeb_glitzy")
26
  chatbot.launch()