shvuuuu commited on
Commit
adf9913
1 Parent(s): cbdb2a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -3,16 +3,13 @@ import plotly.express as px
3
  import plotly.graph_objects as go
4
  import streamlit as st
5
  import tweepy
 
6
  from plotly.subplots import make_subplots
7
  from transformers import pipeline
8
 
9
- consumer_key = "sHz78Xj5Dl41cqfzEHVoRcaKo"
10
- consumer_secret = "3y5caZfu91nmB2MNH7mDSu5Cgf5qaVRpMfbDoCPW4dU7E46k03"
11
- access_key = "1116912581434695680-x359MscPSdqEcJzoIlg4jMsCZRdyNX"
12
- access_secret = "wEsALFUava2TnYXWnuacrzSK4eiYfJUFLBRWPqGuMRnTz"
13
 
14
- auth = tweepy.OAuthHandler(consumer_key,consumer_secret)
15
- auth.set_access_token(access_key,access_secret)
16
  api = tweepy.API(auth)
17
 
18
 
 
3
  import plotly.graph_objects as go
4
  import streamlit as st
5
  import tweepy
6
+ import os
7
  from plotly.subplots import make_subplots
8
  from transformers import pipeline
9
 
 
 
 
 
10
 
11
+ auth = tweepy.OAuthHandler(os.environ['consumer_key'],os.environ['consumer_secret'])
12
+ auth.set_access_token(os.environ['access_key'],os.environ['access_secret'])
13
  api = tweepy.API(auth)
14
 
15