Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -1
src/streamlit_app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
-
import streamlit as st
|
2 |
from langchain_huggingface import HuggingFaceEndpoint
|
3 |
import os
|
|
|
|
|
|
|
4 |
|
5 |
# constants
|
6 |
QUESTION = "Compute the integral of f(x) = x^2."
|
|
|
|
|
1 |
from langchain_huggingface import HuggingFaceEndpoint
|
2 |
import os
|
3 |
+
os.environ["STREAMLIT_HOME"] = "/app/.streamlit"
|
4 |
+
os.environ["HOME"] = "/app"
|
5 |
+
import streamlit as st
|
6 |
|
7 |
# constants
|
8 |
QUESTION = "Compute the integral of f(x) = x^2."
|