atifsial123 commited on
Commit
b9b4796
·
verified ·
1 Parent(s): f13a3ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
+