soupstick commited on
Commit
5dc95af
·
1 Parent(s): b28f2cd

Fix: Pin Gradio version to resolve JSON schema parsing error

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +3 -2
app.py CHANGED
@@ -194,4 +194,4 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Amazon Listing Generator") as demo
194
  """)
195
 
196
  if __name__ == "__main__":
197
- demo.queue().launch()
 
194
  """)
195
 
196
  if __name__ == "__main__":
197
+ demo.launch(share=True)
requirements.txt CHANGED
@@ -1,10 +1,11 @@
1
  transformers>=4.44.0
2
  peft>=0.10.0
3
  accelerate>=0.24.0
4
- gradio>=4.0.0
5
  torch>=2.0.0
6
  torchvision>=0.15.0
7
  Pillow>=9.0.0
8
  numpy>=1.21.0
9
  requests>=2.25.0
10
- huggingface-hub>=0.17.0
 
 
1
  transformers>=4.44.0
2
  peft>=0.10.0
3
  accelerate>=0.24.0
4
+ gradio==4.36.0
5
  torch>=2.0.0
6
  torchvision>=0.15.0
7
  Pillow>=9.0.0
8
  numpy>=1.21.0
9
  requests>=2.25.0
10
+ huggingface-hub>=0.17.0
11
+ gradio-client==0.17.0