Spaces:
Running
on
A10G
Running
on
A10G
Shanshan Wang
commited on
Commit
•
36b6b23
1
Parent(s):
1e447a3
updated requirements
Browse files- app.py +0 -1
- requirements.txt +3 -0
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
import torch
|
3 |
from transformers import AutoModel, AutoTokenizer, AutoImageProcessor
|
4 |
import torch
|
5 |
import torchvision.transforms as T
|
|
|
1 |
import gradio as gr
|
|
|
2 |
from transformers import AutoModel, AutoTokenizer, AutoImageProcessor
|
3 |
import torch
|
4 |
import torchvision.transforms as T
|
requirements.txt
CHANGED
@@ -7,3 +7,6 @@ markdown2[all]
|
|
7 |
pydantic
|
8 |
requests
|
9 |
uvicorn
|
|
|
|
|
|
|
|
7 |
pydantic
|
8 |
requests
|
9 |
uvicorn
|
10 |
+
torch==2.4.0
|
11 |
+
torchvision==0.19.0
|
12 |
+
pillow==10.2.0
|