Kilos1 commited on
Commit
1be903a
·
verified ·
1 Parent(s): 95b924d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -98,11 +98,10 @@ with gr.Blocks() as demo:
98
  # Define the action when the demo is loaded
99
  demo.load(load_data, None, [data, count])
100
 
101
- from google.colab import userdata
102
- TOKEN = userdata.get('token')
103
 
104
  # Retrieve the Hugging Face Hub token from environment variables
105
- TOKEN = TOKEN
106
 
107
  # Create a Repository object for interacting with a Hugging Face dataset
108
  repo = huggingface_hub.Repository(
 
98
  # Define the action when the demo is loaded
99
  demo.load(load_data, None, [data, count])
100
 
101
+
 
102
 
103
  # Retrieve the Hugging Face Hub token from environment variables
104
+ TOKEN = os.environ.get(openai_api_key )
105
 
106
  # Create a Repository object for interacting with a Hugging Face dataset
107
  repo = huggingface_hub.Repository(