Spaces:
Sleeping
Sleeping
Ben Burtenshaw
commited on
Commit
·
95a3fa7
1
Parent(s):
95dead0
try prometheus pipeline
Browse files- app.py +1 -2
- requirements.txt +3 -3
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
-
from huggingface_hub import whoami
|
| 5 |
|
| 6 |
|
| 7 |
log_file = "out-file.txt"
|
|
@@ -13,7 +12,7 @@ def run():
|
|
| 13 |
|
| 14 |
with open("out-file.txt", "w") as f:
|
| 15 |
proc = subprocess.Popen(
|
| 16 |
-
[f"{sys.executable}", "
|
| 17 |
stdout=subprocess.PIPE,
|
| 18 |
)
|
| 19 |
|
|
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
import gradio as gr
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
log_file = "out-file.txt"
|
|
|
|
| 12 |
|
| 13 |
with open("out-file.txt", "w") as f:
|
| 14 |
proc = subprocess.Popen(
|
| 15 |
+
[f"{sys.executable}", "prometheus_pipeline.py"],
|
| 16 |
stdout=subprocess.PIPE,
|
| 17 |
)
|
| 18 |
|
requirements.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
-
gradio
|
| 2 |
-
distilabel
|
| 3 |
-
|
|
|
|
| 1 |
+
gradio[oauth]
|
| 2 |
+
distilabel[vllm] @ git+https://github.com/argilla-io/distilabel.git@develop
|
| 3 |
+
flash-attn
|