Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,7 @@ import soundfile as sf
|
|
5 |
import numpy as np
|
6 |
import gradio as gr
|
7 |
|
8 |
-
import sys
|
9 |
-
import csv
|
10 |
|
11 |
-
csv.field_size_limit(sys.maxsize)
|
12 |
|
13 |
# Initialize the image-to-text pipeline
|
14 |
captionImage = transformers_pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
|
|
|
5 |
import numpy as np
|
6 |
import gradio as gr
|
7 |
|
|
|
|
|
8 |
|
|
|
9 |
|
10 |
# Initialize the image-to-text pipeline
|
11 |
captionImage = transformers_pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
|