elina12 commited on
Commit
5119474
1 Parent(s): 6e65022

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  import gradio as gr
3
 
4
  # Define the path to the caching directory
5
- cache_directory = "C:\Users\user\AppData\Local\transformers"
6
 
7
  # Load the pipeline with the cache_dir parameter
8
  pipe = pipeline(model="tarteel-ai/whisper-base-ar-quran", cache_dir=cache_directory)
 
2
  import gradio as gr
3
 
4
  # Define the path to the caching directory
5
+ cache_directory = "C://Users//10Rs6//AppData//Local//transformers"
6
 
7
  # Load the pipeline with the cache_dir parameter
8
  pipe = pipeline(model="tarteel-ai/whisper-base-ar-quran", cache_dir=cache_directory)