seawolf2357 commited on
Commit
1bad155
·
verified ·
1 Parent(s): cab234d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -64,17 +64,6 @@ def create_home_screen():
64
 
65
  return home
66
 
67
-
68
- def create_home_screen():
69
- with gr.Blocks() as home:
70
- gr.Markdown("Welcome to the secured Gradio interface!")
71
- return home
72
-
73
  if __name__ == "__main__":
74
  home = create_home_screen()
75
-
76
- auth = ("gini", "pick") # 인증 정보
77
- title = "Hello Auth" # 앱 타이틀
78
-
79
- # Gradio 인터페이스를 정의하고 실행
80
- gr.Interface(lambda x: "Hello " + x, "text", "text", title=title).launch(auth=auth)
 
64
 
65
  return home
66
 
 
 
 
 
 
 
67
  if __name__ == "__main__":
68
  home = create_home_screen()
69
+ home.launch()