Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,18 @@ def generate_answer(question):
|
|
| 9 |
answer = pipe(question, max_length=100, num_return_sequences=1)[0]
|
| 10 |
return answer
|
| 11 |
|
| 12 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
st.title("Question Answering App")
|
| 15 |
|
|
|
|
| 9 |
answer = pipe(question, max_length=100, num_return_sequences=1)[0]
|
| 10 |
return answer
|
| 11 |
|
| 12 |
+
st.markdown(
|
| 13 |
+
f"""
|
| 14 |
+
<style>
|
| 15 |
+
body {{
|
| 16 |
+
background-image: url("BK.jpg");
|
| 17 |
+
background-size: cover;
|
| 18 |
+
}}
|
| 19 |
+
</style>
|
| 20 |
+
""",
|
| 21 |
+
unsafe_allow_html=True,
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
|
| 25 |
st.title("Question Answering App")
|
| 26 |
|