AlStable commited on
Commit
963cea5
·
1 Parent(s): 7163d04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -1,11 +1,5 @@
1
  import os
2
  import gradio as gr
3
- import logging
4
-
5
- LOG_FORMAT = '%(asctime)s - %(levelname)s [%(name)s] %(funcName)s -> %(message)s'
6
- logging.basicConfig(level = logging.DEBUG, format = LOG_FORMAT)
7
- logger = logging.getLogger(__name__)
8
- logger.debug('Logging started')
9
 
10
  API_KEY=os.environ.get('HUGGING_FACE_HUB_TOKEN', None)
11
  article = """---
@@ -31,7 +25,7 @@ def selectModel(message, models):
31
  sandbox = gr.Interface.load(
32
  fn= selectModel,
33
  name= custom_model,
34
- title="""AlStable sandbox""",
35
  inputs = ["text", gr.Dropdown(models)],
36
  output = "image",
37
  description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",
 
1
  import os
2
  import gradio as gr
 
 
 
 
 
 
3
 
4
  API_KEY=os.environ.get('HUGGING_FACE_HUB_TOKEN', None)
5
  article = """---
 
25
  sandbox = gr.Interface.load(
26
  fn= selectModel,
27
  name= custom_model,
28
+ title="AlStable sandbox text to img",
29
  inputs = ["text", gr.Dropdown(models)],
30
  output = "image",
31
  description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">AlStable</a> Stable Diffusion model.""",