teaevo commited on
Commit
b5d991e
·
1 Parent(s): 436b052

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,6 +1,14 @@
1
  import gradio as gr
2
  from transformers import TapexTokenizer, BartForConditionalGeneration
3
  import pandas as pd
 
 
 
 
 
 
 
 
4
 
5
  #wikisql take longer to process
6
  #model_name = "microsoft/tapex-large-finetuned-wikisql" # You can change this to any other model from the list above
 
1
  import gradio as gr
2
  from transformers import TapexTokenizer, BartForConditionalGeneration
3
  import pandas as pd
4
+ import pkg_resources
5
+
6
+ # Get a list of installed packages and their versions
7
+ installed_packages = {pkg.key: pkg.version for pkg in pkg_resources.working_set}
8
+
9
+ # Print the list of packages
10
+ for package, version in installed_packages.items():
11
+ print(f"{package}=={version}")
12
 
13
  #wikisql take longer to process
14
  #model_name = "microsoft/tapex-large-finetuned-wikisql" # You can change this to any other model from the list above