Zenith Wang commited on
Commit
64b282a
·
1 Parent(s): f76e940

Downgrade Gradio to 4.36.0 and fix server configuration

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +3 -1
  3. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🤖
4
  colorFrom: purple
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 4.44.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: purple
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 4.36.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -275,6 +275,8 @@ if __name__ == "__main__":
275
  print(f"[DEBUG] Base URL: {BASE_URL}")
276
  demo.queue(max_size=10)
277
  demo.launch(
 
 
278
  share=False,
279
- debug=True
280
  )
 
275
  print(f"[DEBUG] Base URL: {BASE_URL}")
276
  demo.queue(max_size=10)
277
  demo.launch(
278
+ server_name="0.0.0.0",
279
+ server_port=7860,
280
  share=False,
281
+ debug=False
282
  )
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
- gradio==4.44.1
2
  openai==1.12.0
3
  Pillow==10.2.0
 
1
+ gradio==4.36.0
2
  openai==1.12.0
3
  Pillow==10.2.0