Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,8 @@ from io import StringIO
|
|
35 |
with st.sidebar:
|
36 |
with st.expander("Set content and context"):
|
37 |
|
|
|
|
|
38 |
agent_config.image = st.camera_input("Take a picture")
|
39 |
|
40 |
agent_config.context = st.text_area("Text to translate")
|
@@ -82,7 +84,6 @@ with st.sidebar:
|
|
82 |
dataframe = pd.read_csv(uploaded_file)
|
83 |
st.write(dataframe)
|
84 |
|
85 |
-
agent_config.configure()
|
86 |
|
87 |
|
88 |
# Create a page with tabs
|
|
|
35 |
with st.sidebar:
|
36 |
with st.expander("Set content and context"):
|
37 |
|
38 |
+
agent_config.configure()
|
39 |
+
|
40 |
agent_config.image = st.camera_input("Take a picture")
|
41 |
|
42 |
agent_config.context = st.text_area("Text to translate")
|
|
|
84 |
dataframe = pd.read_csv(uploaded_file)
|
85 |
st.write(dataframe)
|
86 |
|
|
|
87 |
|
88 |
|
89 |
# Create a page with tabs
|