PanagiotisMark commited on
Commit
bf7c005
1 Parent(s): 0e3a4be
Files changed (1) hide show
  1. gradio_app.py +3 -3
gradio_app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import gradio as gr
3
  import requests
4
 
5
- # retrieve HF space secrets
6
  auth_key = os.getenv('AUTH_KEY')
7
  api_url = os.getenv('API_URL')
8
  api_port = os.getenv('API_PORT')
@@ -63,5 +63,5 @@ iface_claim_verification = gr.Interface(
63
 
64
  iface = gr.TabbedInterface([iface_news_analysis, iface_claim_verification], ["News Analysis", "Claim Verification"])
65
 
66
- # launch the interface
67
- iface.launch(server_name="0.0.0.0", server_port=7860)
 
2
  import gradio as gr
3
  import requests
4
 
5
+ # Retrieve HF space secrets
6
  auth_key = os.getenv('AUTH_KEY')
7
  api_url = os.getenv('API_URL')
8
  api_port = os.getenv('API_PORT')
 
63
 
64
  iface = gr.TabbedInterface([iface_news_analysis, iface_claim_verification], ["News Analysis", "Claim Verification"])
65
 
66
+ # Launch the interface
67
+ iface.launch(server_name="0.0.0.0", server_port=7860)