Spaces:
Sleeping
Sleeping
Change the input type for radio button to Upload Document instead of Upload PDF
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def main():
|
|
48 |
display_info()
|
49 |
st.subheader("Customization Options")
|
50 |
# Customization options
|
51 |
-
input_type = st.radio("Select Input Preference", ("Text Input","Upload
|
52 |
with st.expander("Choose the Additional Elements to show"):
|
53 |
show_context = st.checkbox("Context",False)
|
54 |
show_answer = st.checkbox("Answer",True)
|
|
|
48 |
display_info()
|
49 |
st.subheader("Customization Options")
|
50 |
# Customization options
|
51 |
+
input_type = st.radio("Select Input Preference", ("Text Input","Upload Document"))
|
52 |
with st.expander("Choose the Additional Elements to show"):
|
53 |
show_context = st.checkbox("Context",False)
|
54 |
show_answer = st.checkbox("Answer",True)
|