PaulNdrei commited on
Commit
76b0878
1 Parent(s): d593a93
Files changed (3) hide show
  1. .gitignore +2 -0
  2. app.py +2 -2
  3. requirements.txt +7 -8
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ **/venv
2
+ **/__pycache__
app.py CHANGED
@@ -114,5 +114,5 @@ with gr.Blocks(**AinaGradioTheme().get_kwargs()) as demo:
114
 
115
 
116
 
117
- demo.queue(concurrency_count=1, api_open=False)
118
- demo.launch(show_api=True, share=True, debug=True, server_name="84.88.187.178")
 
114
 
115
 
116
 
117
+ # demo.queue(concurrency_count=1, api_open=False)
118
+ demo.launch(show_api=True, share=True, debug=True, max_threads=1)
requirements.txt CHANGED
@@ -1,11 +1,10 @@
1
- transformers==4.30.0
2
- gradio==4.0
 
3
  aina-gradio-theme==1.0
4
- #git+https://gitlab.bsc.es/projecte-aina/aina-gradio-theme.git@1.3.6
5
  python-dotenv==1.0.0
6
  pymongo==4.5.0
7
- boto3==1.28.64
8
- torch==2.1.0
9
- bitsandbytes==0.41.0
10
- accelerate==0.23.0
11
- scipy
 
1
+ transformers==4.36.0
2
+ xformers==0.0.23
3
+ gradio==4.8.0
4
  aina-gradio-theme==1.0
 
5
  python-dotenv==1.0.0
6
  pymongo==4.5.0
7
+ torch==2.1.1
8
+ bitsandbytes==0.41.3.post2
9
+ accelerate==0.25.0
10
+ scipy==1.11.4