Spaces:
Sleeping
Sleeping
gabrielaltay
commited on
Commit
•
dbc9203
1
Parent(s):
78872c4
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,10 @@ from datasets import load_dataset
|
|
2 |
import pandas as pd
|
3 |
import streamlit as st
|
4 |
|
5 |
-
dsd = load_dataset("hyperdemocracy/us-congress", "unified_v1")
|
6 |
-
df = pd.concat([ds.to_pandas() for ds in dsd.values()])
|
7 |
|
8 |
-
st.
|
|
|
|
|
|
|
|
2 |
import pandas as pd
|
3 |
import streamlit as st
|
4 |
|
5 |
+
#dsd = load_dataset("hyperdemocracy/us-congress", "unified_v1")
|
6 |
+
#df = pd.concat([ds.to_pandas() for ds in dsd.values()])
|
7 |
|
8 |
+
openai_api_key = st.text_input(label = ":key: OpenAI Key:", help="Required for ChatGPT-4, ChatGPT-3.5, GPT-3, GPT-3.5 Instruct.",type="password")
|
9 |
+
|
10 |
+
|
11 |
+
#st.dataframe(df.head(100))
|