emrecan commited on
Commit
603596f
·
1 Parent(s): 5bb3860

see how much memory spaces has

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,10 +1,12 @@
1
  from __future__ import annotations
 
2
  import pandas as pd
3
  import streamlit as st
4
  import plotly.express as px
5
  from models import NLI_MODEL_OPTIONS, NSP_MODEL_OPTIONS, METHOD_OPTIONS
6
  from zeroshot_turkish.classifiers import NSPZeroshotClassifier, NLIZeroshotClassifier
7
 
 
8
 
9
  def init_state(key: str):
10
  if key not in st.session_state:
 
1
  from __future__ import annotations
2
+ import psutil
3
  import pandas as pd
4
  import streamlit as st
5
  import plotly.express as px
6
  from models import NLI_MODEL_OPTIONS, NSP_MODEL_OPTIONS, METHOD_OPTIONS
7
  from zeroshot_turkish.classifiers import NSPZeroshotClassifier, NLIZeroshotClassifier
8
 
9
+ print(f"Total mem: {psutil.virtual_memory().total}")
10
 
11
  def init_state(key: str):
12
  if key not in st.session_state: