Spaces:
Sleeping
Sleeping
update spaces and torch
Browse files- app.py +1 -0
- requirements.txt +3 -1
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
3 |
# import peft
|
4 |
import spaces
|
|
|
5 |
|
6 |
import requests
|
7 |
import copy
|
|
|
2 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
3 |
# import peft
|
4 |
import spaces
|
5 |
+
import torch
|
6 |
|
7 |
import requests
|
8 |
import copy
|
requirements.txt
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
transformers
|
2 |
timm
|
3 |
peft
|
4 |
-
gradio
|
|
|
|
|
|
1 |
transformers
|
2 |
timm
|
3 |
peft
|
4 |
+
gradio
|
5 |
+
torch
|
6 |
+
spaces
|