add print debug
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import streamlit as st
|
|
4 |
|
5 |
|
6 |
# url = "https://i.imgur.com/qs0CxjE_d.webp?maxwidth=760&fidelity=grand"
|
7 |
-
# text = "
|
8 |
|
9 |
st.write('Part 1')
|
10 |
|
@@ -15,6 +15,7 @@ if st.button('générer'):
|
|
15 |
responseBase = image(url, question)
|
16 |
st.write('response is :', responseBase)
|
17 |
st.write('Part 2')
|
|
|
18 |
st.write(longText(responseBase, question))
|
19 |
|
20 |
print('#### TEST 2####')
|
|
|
4 |
|
5 |
|
6 |
# url = "https://i.imgur.com/qs0CxjE_d.webp?maxwidth=760&fidelity=grand"
|
7 |
+
# text = "How many cars are here?"
|
8 |
|
9 |
st.write('Part 1')
|
10 |
|
|
|
15 |
responseBase = image(url, question)
|
16 |
st.write('response is :', responseBase)
|
17 |
st.write('Part 2')
|
18 |
+
print(question)
|
19 |
st.write(longText(responseBase, question))
|
20 |
|
21 |
print('#### TEST 2####')
|