goudas commited on
Commit
6eba229
Β·
1 Parent(s): 57c048a

downgrade gradio version to 4.44.1 and update requirements

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. requirements.txt +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@
2
  import base64, os
3
  # add a command for installing flash-attn
4
  os.system('pip install flash-attn --no-build-isolation')
5
- # os.system("pip install gradio==5.35.0")
6
 
7
  from typing import Optional
8
  import spaces
@@ -282,5 +282,5 @@ with gr.Blocks() as demo:
282
  )
283
 
284
  # demo.launch(debug=False, show_error=True, share=True)
285
- demo.launch(share=True, server_port=7861, server_name='0.0.0.0')
286
- # demo.queue().launch(share=False)
 
2
  import base64, os
3
  # add a command for installing flash-attn
4
  os.system('pip install flash-attn --no-build-isolation')
5
+ os.system("pip install gradio==4.44.1")
6
 
7
  from typing import Optional
8
  import spaces
 
282
  )
283
 
284
  # demo.launch(debug=False, show_error=True, share=True)
285
+ # demo.launch(share=True, server_port=7861, server_name='0.0.0.0')
286
+ demo.queue().launch(share=True)
requirements.txt CHANGED
@@ -8,12 +8,12 @@ shortuuid
8
  accelerate==0.34.2
9
  peft==0.4.0
10
  bitsandbytes==0.44.1
11
- pydantic>=2.0
12
  markdown2[all]
13
  numpy
14
  scikit-learn==1.5.0
15
- gradio==5.35.0
16
- gradio_client
17
  spaces
18
  requests
19
  httpx
 
8
  accelerate==0.34.2
9
  peft==0.4.0
10
  bitsandbytes==0.44.1
11
+ pydantic<2.0
12
  markdown2[all]
13
  numpy
14
  scikit-learn==1.5.0
15
+ gradio==4.44.1
16
+ gradio_client==1.7.2
17
  spaces
18
  requests
19
  httpx