reach-vb HF staff commited on
Commit
c0fffcc
1 Parent(s): bccaea0

Upload rich-profile-template.py (#1)

Browse files

- Upload rich-profile-template.py (500465e36513f366a94aaa9f4abade42a6ac4b2e)

Files changed (1) hide show
  1. rich-profile-template.py +41 -0
rich-profile-template.py ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from rich import box
2
+ from rich.columns import Columns
3
+ from rich.console import Console
4
+ from rich.panel import Panel
5
+ from rich.tree import Tree
6
+
7
+ console = Console(record=True, width=110)
8
+
9
+ tree = Tree(":call_me_hand: [link=https://www.vaibhav.wiki]Vaibhav (VB) Srivastav", guide_style="bold cyan")
10
+ python_tree = tree.add(":computer: Computational Linguist | ML Engineer", guide_style="green")
11
+ python_tree.add("⭐ [link=https://github.com/Vaibhavs10/ml-with-audio]ML with Audio")
12
+ python_tree.add("⭐ [link=https://github.com/Vaibhavs10/how-to-asr]How to ASR")
13
+ python_tree.add("⭐ [link=https://github.com/Vaibhavs10/anli-performance-prediction]Performance Prediction")
14
+ interests_tree = tree.add(":speaking_head: Interests")
15
+ interests_tree.add("Speech Enhancement & Generation")
16
+ interests_tree.add("Text Understanding")
17
+ interests_tree.add("Python and adjacent communities")
18
+ tree.add(":runner: Runner")
19
+
20
+ about = """\
21
+ I’m a Developer Advocate at Hugging Face focusing on open source, audio & on-device ML.
22
+ Been a freelancer, tax analyst and a consultant for the past 5 years.
23
+
24
+ I’ve invested significant time in past 3 years volunteering for open source and science organisations like Hugging Face, EuroPython, PyCons across APAC.
25
+
26
+ Delhi native, I now live in Paris, France!
27
+
28
+ Follow me on Twitter! [link=https://twitter.com/reach_vb]@reach_vb
29
+ """
30
+
31
+ panel = Panel.fit(
32
+ about, box=box.DOUBLE, border_style="blue", title="[b]Hey Hey! :wave:", width =60
33
+ )
34
+
35
+ console.print(Columns([panel, tree]))
36
+
37
+ CONSOLE_HTML_FORMAT = """\
38
+ <pre style="font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">{code}</pre>
39
+ """
40
+
41
+ console.save_html("README.md", inline_styles=True, code_format=CONSOLE_HTML_FORMAT)