update
This commit is contained in:
parent
ec104e3048
commit
f73e8dff96
|
@ -1,7 +1,6 @@
|
|||
import gradio as gr
|
||||
from transformers import AutoImageProcessor, TableTransformerForObjectDetection
|
||||
import torch
|
||||
from PIL import Image
|
||||
|
||||
def inference(img):
|
||||
pretrained_model_path = "table-transformer-detection"
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
gradio==3.21.0
|
||||
transformers==4.27.1
|
||||
torch==2.0.0
|
||||
|
|
Loading…
Reference in New Issue