OzzyGT HF staff commited on
Commit
19ec5a1
β€’
1 Parent(s): 7d1af13

revert last commit, change version in readme

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +0 -5
README.md CHANGED
@@ -4,10 +4,10 @@ emoji: πŸƒ
4
  colorFrom: gray
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 4.44.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
4
  colorFrom: gray
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.42.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
  ---
12
 
13
+ Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference>
app.py CHANGED
@@ -1,5 +1,3 @@
1
- import os
2
-
3
  import gradio as gr
4
  import spaces
5
  import torch
@@ -11,9 +9,6 @@ from huggingface_hub import hf_hub_download
11
  from controlnet_union import ControlNetModel_Union
12
  from pipeline_fill_sd_xl import StableDiffusionXLFillPipeline
13
 
14
- os.system("pip uninstall -y gradio")
15
- os.system("pip install gradio==4.42.0")
16
-
17
  MODELS = {
18
  "RealVisXL V5.0 Lightning": "SG161222/RealVisXL_V5.0_Lightning",
19
  }
 
 
 
1
  import gradio as gr
2
  import spaces
3
  import torch
 
9
  from controlnet_union import ControlNetModel_Union
10
  from pipeline_fill_sd_xl import StableDiffusionXLFillPipeline
11
 
 
 
 
12
  MODELS = {
13
  "RealVisXL V5.0 Lightning": "SG161222/RealVisXL_V5.0_Lightning",
14
  }