oceansweep commited on
Commit
cee1af2
·
verified ·
1 Parent(s): 2cedd45

Upload Gradio_Related.py

Browse files
App_Function_Libraries/Gradio_Related.py CHANGED
@@ -69,7 +69,7 @@ from App_Function_Libraries.Video_DL_Ingestion_Lib import parse_and_expand_urls,
69
  #
70
 
71
  # I know this is bad, I don't care, this key is set to expire on Aug 19. Until then, it is what it is.
72
- MISTRAL_TOKEN = os.environ["p3hw1VRckQl86OjeOtvaOckMfAaernxz"]
73
  whisper_models = ["small", "medium", "small.en", "medium.en", "medium", "large", "large-v1", "large-v2", "large-v3",
74
  "distil-large-v2", "distil-medium.en", "distil-small.en"]
75
  custom_prompt_input = None
@@ -2478,7 +2478,7 @@ def create_llamafile_settings_tab():
2478
  if current_dir_model:
2479
  return current_dir_model
2480
  elif parent_dir_model:
2481
- return os.path.join("..", parent_dir_model)
2482
  else:
2483
  return ""
2484
 
 
69
  #
70
 
71
  # I know this is bad, I don't care, this key is set to expire on Aug 19. Until then, it is what it is.
72
+ MISTRAL_TOKEN = "p3hw1VRckQl86OjeOtvaOckMfAaernxz"
73
  whisper_models = ["small", "medium", "small.en", "medium.en", "medium", "large", "large-v1", "large-v2", "large-v3",
74
  "distil-large-v2", "distil-medium.en", "distil-small.en"]
75
  custom_prompt_input = None
 
2478
  if current_dir_model:
2479
  return current_dir_model
2480
  elif parent_dir_model:
2481
+ return os.path.join("../App_Function_Libraries", parent_dir_model)
2482
  else:
2483
  return ""
2484