Spaces:
openfree
/
Running on CPU Upgrade

openfree commited on
Commit
5c27f2d
ยท
verified ยท
1 Parent(s): 7be2df4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -588,7 +588,7 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css, title="NewsAI ์„œ๋น„์Šค") as
588
  with gr.Column():
589
  with gr.Row():
590
  query = gr.Textbox(label="๊ฒ€์ƒ‰์–ด")
591
- country = gr.Dropdown(MAJOR_COUNTRIES, label="๊ตญ๊ฐ€", value="South Korea")
592
 
593
  status_message = gr.Markdown("", visible=True)
594
  translated_query_display = gr.Markdown(visible=False)
@@ -871,4 +871,12 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css, title="NewsAI ์„œ๋น„์Šค") as
871
  outputs=hn_outputs
872
  )
873
 
874
- iface.launch(auth=("it1","chosun1"))
 
 
 
 
 
 
 
 
 
588
  with gr.Column():
589
  with gr.Row():
590
  query = gr.Textbox(label="๊ฒ€์ƒ‰์–ด")
591
+ country = gr.Dropdown(MAJOR_COUNTRIES, label="๊ตญ๊ฐ€", value="United States")
592
 
593
  status_message = gr.Markdown("", visible=True)
594
  translated_query_display = gr.Markdown(visible=False)
 
871
  outputs=hn_outputs
872
  )
873
 
874
+
875
+ iface.launch(
876
+ server_name="0.0.0.0",
877
+ server_port=7860,
878
+ share=False, # ์™ธ๋ถ€ ๊ณต์œ  ๋น„ํ™œ์„ฑํ™”
879
+ auth=("it1","chosun1"),
880
+ ssl_verify=False, # SSL ๊ฒ€์ฆ ๋น„ํ™œ์„ฑํ™” (ํ•„์š”ํ•œ ๊ฒฝ์šฐ)
881
+ show_error=True # ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œ
882
+ )