sureshsharma4747 commited on
Commit
1d91979
·
verified ·
1 Parent(s): e893f9d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. streamlit +3 -3
streamlit CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
 
3
  # Step 1: Create .streamlit directory inside your project directory
4
- os.makedirs("frontend_files/.streamlit", exist_ok=True)
5
 
6
  # Step 2: Write the config.toml file
7
  config_content = """
@@ -13,7 +13,7 @@ port = 8501
13
  address = "0.0.0.0"
14
  """
15
 
16
- with open("frontend_files/.streamlit/config.toml", "w") as f:
17
  f.write(config_content)
18
 
19
- print("✅ .streamlit/config.toml file created inside 'frontend_files' directory.")
 
1
  import os
2
 
3
  # Step 1: Create .streamlit directory inside your project directory
4
+ os.makedirs("deployment_files/.streamlit", exist_ok=True)
5
 
6
  # Step 2: Write the config.toml file
7
  config_content = """
 
13
  address = "0.0.0.0"
14
  """
15
 
16
+ with open("deployment_files/.streamlit/config.toml", "w") as f:
17
  f.write(config_content)
18
 
19
+ print("✅ .streamlit/config.toml file created inside 'deployment_files' directory.")