updated requirements
Browse files- app.py +1 -1
- requirements.txt +4 -3
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
4 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM
|
5 |
import requests
|
6 |
|
7 |
# ACCESS_TOKEN = os.getenv('ACCESS_TOKEN')
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
4 |
+
#from transformers import AutoTokenizer, AutoModelForCausalLM
|
5 |
import requests
|
6 |
|
7 |
# ACCESS_TOKEN = os.getenv('ACCESS_TOKEN')
|
requirements.txt
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
huggingface_hub==0.22.2
|
2 |
-
transformers[torch]
|
3 |
-
tensorflow
|
4 |
gradio
|
5 |
-
einops
|
|
|
|
1 |
huggingface_hub==0.22.2
|
2 |
+
#transformers[torch]
|
3 |
+
#tensorflow
|
4 |
gradio
|
5 |
+
#einops
|
6 |
+
requests
|