Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
|
|
|
2 |
# Import the necessary libraries
|
3 |
from transformers import AutoModel, AutoTokenizer
|
4 |
import torch
|
@@ -42,3 +43,4 @@ iface = gr.Interface(
|
|
42 |
# Launch the Gradio interface
|
43 |
iface.launch()
|
44 |
|
|
|
|
1 |
+
import os
|
2 |
+
os.system('pip install transformers')
|
3 |
# Import the necessary libraries
|
4 |
from transformers import AutoModel, AutoTokenizer
|
5 |
import torch
|
|
|
43 |
# Launch the Gradio interface
|
44 |
iface.launch()
|
45 |
|
46 |
+
|