justheuristic commited on
Commit
43d01cc
·
1 Parent(s): b038ccc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -5,6 +5,10 @@ st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVj
5
 
6
  import time
7
  from transformers import pipeline
 
 
 
 
8
 
9
  def process(text):
10
  return text[::-1]
 
5
 
6
  import time
7
  from transformers import pipeline
8
+ import psutil
9
+
10
+ nbytes = psutil.virtual_memory().total
11
+ st.text(f"{nbytes} bytes // {nbytes // 2**30} gibibytes")
12
 
13
  def process(text):
14
  return text[::-1]