Skip to content

Commit

Permalink
Merge branch 'glossary_new' of https://github.com/dara-network/gooey-…
Browse files Browse the repository at this point in the history
…server into glossary_new
  • Loading branch information
SanderGi committed Oct 18, 2023
2 parents 3550dfa + 2b25b2d commit b7c4fc4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions daras_ai_v2/doc_search_settings_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,18 @@ def is_user_uploaded_url(url: str) -> bool:

def document_uploader(
label: str,
key="documents",
accept=(".pdf", ".txt", ".docx", ".md", ".html", ".wav", ".ogg", ".mp3", ".aac"),
key: str = "documents",
accept: typing.Iterable[str] = (
".pdf",
".txt",
".docx",
".md",
".html",
".wav",
".ogg",
".mp3",
".aac",
),
accept_multiple_files=True,
):
st.write(label, className="gui-input")
Expand Down

0 comments on commit b7c4fc4

Please sign in to comment.