-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrexTalkForChatBot.py
More file actions
24 lines (20 loc) · 836 Bytes
/
Copy pathtrexTalkForChatBot.py
File metadata and controls
24 lines (20 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from dinosay import dinostring, DINO_TYPE
from rich.console import Console
from rich.panel import Panel
import sys
console = Console()
def determiningName():
try:
return sys.argv[1]
except IndexError:
return "world"
def printingDinoStuff(name):
console.print(Panel(f"[bold magenta]HELLO {name}, I AM A VERY SMART DINO WHO WILL MAKE YOU NOTES[/bold magenta]", expand=False))
t_rex_with_bubble = dinostring(" ", DINO_TYPE['tyrannosaurus'], 'normal')
lines = t_rex_with_bubble.split('\n')
global just_the_dino
just_the_dino = "\n".join(lines[6:])
print(just_the_dino)
def gettingGeminiTopic():
console.print(Panel(f"[bold blue]What topic (you can be specific) do you want to make notes for?[/bold blue]", expand=False))
return input("\n\nEnter TOPIC: ")