Spaces:
Runtime error
Runtime error
update app
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ import string
|
|
2 |
import gradio as gr
|
3 |
import requests
|
4 |
import torch
|
|
|
|
|
5 |
from PIL import Image
|
6 |
import timm
|
7 |
from timm.data import resolve_data_config
|
|
|
2 |
import gradio as gr
|
3 |
import requests
|
4 |
import torch
|
5 |
+
from transformers import T5Tokenizer
|
6 |
+
from model import T5ForMultimodalGeneration
|
7 |
from PIL import Image
|
8 |
import timm
|
9 |
from timm.data import resolve_data_config
|