SS8297 commited on
Commit
344ab1a
·
1 Parent(s): 625d1bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -12,4 +12,15 @@ from feat.utils import FEAT_EMOTION_COLUMNS
12
  import torch
13
  from PIL import Image
14
 
15
- st.text(f"{os.getcwd()}")
 
 
 
 
 
 
 
 
 
 
 
 
12
  import torch
13
  from PIL import Image
14
 
15
+ def get_book_variable_module_name(module_name):
16
+ module = globals().get(module_name, None)
17
+ book = {}
18
+ if module:
19
+ book = {key: value for key, value in module.__dict__.items() if not (key.startswith('__') or key.startswith('_'))}
20
+ return book
21
+
22
+ import config
23
+
24
+ book = get_book_variable_module_name('config')
25
+ for key, value in book.items():
26
+ print "{:<30}{:<100}".format(key, value)