Spaces:
Running
on
T4
Running
on
T4
Fixes the transformers version
Browse files
app.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import sys
|
| 2 |
import os
|
| 3 |
import argparse
|
|
@@ -6,8 +9,6 @@ import subprocess
|
|
| 6 |
|
| 7 |
import llava.serve.gradio_web_server as gws
|
| 8 |
|
| 9 |
-
# Execute the pip install command with additional options
|
| 10 |
-
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'git+https://github.com/huggingface/transformers@a98c41798cf6ed99e1ff17e3792d6e06a2ff2ff3', '-U'])
|
| 11 |
|
| 12 |
def start_controller():
|
| 13 |
print("Starting the controller")
|
|
|
|
| 1 |
+
# Execute the pip install command with additional options
|
| 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
|
|
|
|
| 9 |
|
| 10 |
import llava.serve.gradio_web_server as gws
|
| 11 |
|
|
|
|
|
|
|
| 12 |
|
| 13 |
def start_controller():
|
| 14 |
print("Starting the controller")
|