Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
from transformers import AutoTokenizer, ViTFeatureExtractor, VisionEncoderDecoderModel
|
3 |
import os
|
4 |
os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import transformers
|
3 |
+
import torch
|
4 |
+
import re
|
5 |
+
import gradio as gr
|
6 |
+
from PIL import Image
|
7 |
+
from transformers import pipeline
|
8 |
from transformers import AutoTokenizer, ViTFeatureExtractor, VisionEncoderDecoderModel
|
9 |
import os
|
10 |
os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|