MrDrmm commited on
Commit
2504df8
·
verified ·
1 Parent(s): 458e98e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -1,16 +1,6 @@
1
  import gradio as gr
2
  from random import randint
3
  from all_models import models
4
- import torch
5
- import os
6
-
7
- os.environ["CUDA_VISIBLE_DEVICES"] = "" # Отключаем CUDA
8
-
9
-
10
- device = "cpu" # Используем CPU
11
- model_repo_id = "stabilityai/sdxl-turbo"
12
-
13
- torch_dtype = torch.float32 # Тип данных для CPU
14
 
15
 
16
 
 
1
  import gradio as gr
2
  from random import randint
3
  from all_models import models
 
 
 
 
 
 
 
 
 
 
4
 
5
 
6