pmolchanov commited on
Commit
0c8dc33
·
verified ·
1 Parent(s): b37f84f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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