Spaces:
Runtime error
Runtime error
Commit
·
095d760
1
Parent(s):
eecbf7c
Update app.py
Browse files
app.py
CHANGED
@@ -96,10 +96,10 @@ def display_conversation(history):
|
|
96 |
|
97 |
def main():
|
98 |
# Sidebar für die Modellauswahl hinzufügen
|
99 |
-
model_options = ["
|
100 |
selected_model = st.sidebar.selectbox("Modell auswählen", model_options)
|
101 |
|
102 |
-
st.markdown("<h1 style='text-align: center; color: blue;'>Dateiupload für Behörden und Organisationen mit Sicherheitsaufgaben📄 </h1>", unsafe_allow_html=True)
|
103 |
st.markdown("<h2 style='text-align: center; color:black;'>Laden Sie Ihr PDF hoch und stellen Sie Fragen 👇</h3>", unsafe_allow_html=True)
|
104 |
|
105 |
uploaded_file = st.file_uploader("", type=["pdf"])
|
|
|
96 |
|
97 |
def main():
|
98 |
# Sidebar für die Modellauswahl hinzufügen
|
99 |
+
model_options = ["hkunlp/instructor-base", "google/flan-t5-base", "google/flan-t5-small"]
|
100 |
selected_model = st.sidebar.selectbox("Modell auswählen", model_options)
|
101 |
|
102 |
+
st.markdown("<h1 style='text-align: center; color: blue;'>Dateiupload für Behörden und Organisationen mit Sicherheitsaufgaben 📄 </h1>", unsafe_allow_html=True)
|
103 |
st.markdown("<h2 style='text-align: center; color:black;'>Laden Sie Ihr PDF hoch und stellen Sie Fragen 👇</h3>", unsafe_allow_html=True)
|
104 |
|
105 |
uploaded_file = st.file_uploader("", type=["pdf"])
|