Spaces:
Paused
Paused
pmolchanov
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,11 @@ import gradio as gr
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer, StopStringCriteria, StoppingCriteriaList
|
4 |
import torch
|
5 |
|
|
|
|
|
|
|
|
|
|
|
6 |
import torch._dynamo
|
7 |
torch._dynamo.config.suppress_errors = True
|
8 |
|
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer, StopStringCriteria, StoppingCriteriaList
|
4 |
import torch
|
5 |
|
6 |
+
import subprocess
|
7 |
+
# useradd -m -u 1000 user
|
8 |
+
subprocess.run(['useradd', '-m', "-u", "1000", "user" ])
|
9 |
+
|
10 |
+
|
11 |
import torch._dynamo
|
12 |
torch._dynamo.config.suppress_errors = True
|
13 |
|