Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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)
|