alexkueck commited on
Commit
9519de3
1 Parent(s): 2b00953

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -80,8 +80,9 @@ YOUTUBE_URL_2 = "https://www.youtube.com/watch?v=hdhZwyf24mE"
80
  #LLM Model mit dem gearbeitet wird
81
  #openai-------------------------------------
82
  #MODEL_NAME = "gpt-3.5-turbo-16k"
 
83
  #MODEL_NAME= "gpt-4-1106-preview"
84
- MODEL_NAME = "gpt-4-0613"
85
 
86
  #verfügbare Modelle anzeigen lassen
87
 
@@ -163,8 +164,8 @@ def document_loading_splitting():
163
  loader = WebBaseLoader(WEB_URL)
164
  docs.extend(loader.load())
165
  # Load YouTube
166
- #loader = GenericLoader(YoutubeAudioLoader([YOUTUBE_URL_1,YOUTUBE_URL_2], PATH_WORK + YOUTUBE_DIR), OpenAIWhisperParser())
167
- #docs.extend(loader.load())
168
  ################################
169
  # Document splitting
170
  text_splitter = RecursiveCharacterTextSplitter(chunk_overlap = 150, chunk_size = 1500)
 
80
  #LLM Model mit dem gearbeitet wird
81
  #openai-------------------------------------
82
  #MODEL_NAME = "gpt-3.5-turbo-16k"
83
+ MODEL_NAME = "gpt-3.5-turbo-1106"
84
  #MODEL_NAME= "gpt-4-1106-preview"
85
+
86
 
87
  #verfügbare Modelle anzeigen lassen
88
 
 
164
  loader = WebBaseLoader(WEB_URL)
165
  docs.extend(loader.load())
166
  # Load YouTube
167
+ loader = GenericLoader(YoutubeAudioLoader([YOUTUBE_URL_1,YOUTUBE_URL_2], PATH_WORK + YOUTUBE_DIR), OpenAIWhisperParser())
168
+ docs.extend(loader.load())
169
  ################################
170
  # Document splitting
171
  text_splitter = RecursiveCharacterTextSplitter(chunk_overlap = 150, chunk_size = 1500)