Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,14 +9,11 @@ st.title("Quotes Generator and Search")
|
|
9 |
st.write("Search for quotes by author, quote and category")
|
10 |
|
11 |
# Set the max width of the page
|
12 |
-
st.set_page_config(
|
13 |
|
14 |
# Load the dataset
|
15 |
quotes = pd.read_csv('quotes.csv', index_col=0)
|
16 |
|
17 |
-
# Start the Streamlit App
|
18 |
-
st.title('Quote Generator')
|
19 |
-
|
20 |
# Generate a random set of ten quotes
|
21 |
quotes_random = quotes.sample(10)
|
22 |
st.write(quotes_random)
|
|
|
9 |
st.write("Search for quotes by author, quote and category")
|
10 |
|
11 |
# Set the max width of the page
|
12 |
+
st.set_page_config(layout="wide")
|
13 |
|
14 |
# Load the dataset
|
15 |
quotes = pd.read_csv('quotes.csv', index_col=0)
|
16 |
|
|
|
|
|
|
|
17 |
# Generate a random set of ten quotes
|
18 |
quotes_random = quotes.sample(10)
|
19 |
st.write(quotes_random)
|