Spaces:
Running
on
T4
Running
on
T4
Fixes the transformers version
Browse files
app.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
-
|
| 2 |
-
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'git+https://github.com/huggingface/transformers@a98c41798cf6ed99e1ff17e3792d6e06a2ff2ff3', '-U'])
|
| 3 |
-
|
| 4 |
import sys
|
| 5 |
import os
|
| 6 |
import argparse
|
| 7 |
import time
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
|
| 10 |
import llava.serve.gradio_web_server as gws
|
| 11 |
|
|
|
|
| 1 |
+
import subprocess
|
|
|
|
|
|
|
| 2 |
import sys
|
| 3 |
import os
|
| 4 |
import argparse
|
| 5 |
import time
|
| 6 |
+
|
| 7 |
+
# Execute the pip install command with additional options
|
| 8 |
+
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'git+https://github.com/huggingface/transformers@a98c41798cf6ed99e1ff17e3792d6e06a2ff2ff3', '-U'])
|
| 9 |
|
| 10 |
import llava.serve.gradio_web_server as gws
|
| 11 |
|