Commit
•
0509ad0
1
Parent(s):
453d528
Update app.py
Browse files
app.py
CHANGED
@@ -1,19 +1,8 @@
|
|
1 |
#!/usr/bin/env python
|
2 |
-
if True:
|
3 |
-
import subprocess
|
4 |
-
import sys
|
5 |
-
|
6 |
-
def install_package(package_name):
|
7 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", package_name])
|
8 |
-
|
9 |
-
# Example usage:
|
10 |
-
install_package("argilla==2.0.0rc1")
|
11 |
-
|
12 |
import os
|
13 |
from threading import Thread
|
14 |
from typing import Iterator
|
15 |
|
16 |
-
import argilla as rg
|
17 |
import gradio as gr
|
18 |
import spaces
|
19 |
import torch
|
|
|
1 |
#!/usr/bin/env python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
from threading import Thread
|
4 |
from typing import Iterator
|
5 |
|
|
|
6 |
import gradio as gr
|
7 |
import spaces
|
8 |
import torch
|