haepada commited on
Commit
cbd76b6
·
verified ·
1 Parent(s): 131e4f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -1901,7 +1901,7 @@ if __name__ == "__main__":
1901
  # 서비스 워커 파일 생성
1902
  with open('static/service-worker.js', 'w') as f:
1903
  f.write(sw_content)
1904
-
1905
  # Gradio 앱 실행
1906
  demo = create_interface()
1907
  demo.queue().launch(
@@ -1913,9 +1913,4 @@ if __name__ == "__main__":
1913
  height=None,
1914
  width="100%"
1915
  )
1916
-
1917
- app.run(
1918
- host="0.0.0.0",
1919
- port=8000,
1920
- debug=True
1921
- )
 
1901
  # 서비스 워커 파일 생성
1902
  with open('static/service-worker.js', 'w') as f:
1903
  f.write(sw_content)
1904
+ create_pwa_files()
1905
  # Gradio 앱 실행
1906
  demo = create_interface()
1907
  demo.queue().launch(
 
1913
  height=None,
1914
  width="100%"
1915
  )
1916
+