tastelikefeet ysharma HF staff commited on
Commit
a073589
β€’
1 Parent(s): 6c57ace

updated app.py (#3)

Browse files

- updated app.py (adfe8c0e21b00550f66b0c973b11b599109bf8e6)
- update Readme.md (e6a9bd78cb4f943f2024180c11cd0b52f7b209eb)


Co-authored-by: yuvraj sharma <ysharma@users.noreply.huggingface.co>

Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ‘
4
  colorFrom: blue
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 4.12.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
4
  colorFrom: blue
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 3.50.2
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
app.py CHANGED
@@ -394,8 +394,8 @@ with block:
394
  run_edit.click(fn=process, inputs=[gr.State('edit')] + ips, outputs=[result_gallery, result_info])
395
 
396
  block.launch(
397
- server_name='0.0.0.0' if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
398
- share=False,
399
  root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
400
  )
401
  # block.launch(server_name='0.0.0.0')
 
394
  run_edit.click(fn=process, inputs=[gr.State('edit')] + ips, outputs=[result_gallery, result_info])
395
 
396
  block.launch(
397
+ #server_name='0.0.0.0' if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
398
+ #share=False,
399
  root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
400
  )
401
  # block.launch(server_name='0.0.0.0')