Karumoon commited on
Commit
1294372
1 Parent(s): d323340

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -76,14 +76,15 @@ proc1=gr.Interface.load(f"models/{model_1}",live=False,preprocess=True, postproc
76
  proc2=gr.Interface.load(f"models/{model_20}",live=False,preprocess=True, postprocess=False)
77
  proc3=gr.Interface.load(f"models/{model_17}",live=False,preprocess=True, postprocess=False)
78
 
 
79
  ppComic=gr.Interface.load(
80
  name="models/ogkalu/Comic-Diffusion",
81
- title="""Comic Diffusion""",
82
- description="""Demo for <a href="https://huggingface.co/ogkalu/Comic-Diffusion">Comic Diffusion</a> Stable Diffusion model.""",
83
  article=article,
84
  api_key=API_KEY,
85
  )#.queue(concurrency_count=20).launch()
86
-
87
 
88
 
89
  #from transformers import pipeline
@@ -132,7 +133,7 @@ with gr.Blocks() as demo:
132
  btn2.click(proc1,inputs=english,outputs=img1)
133
  btn3.click(proc2,inputs=english,outputs=img2)
134
  btn4.click(proc3,inputs=english,outputs=img3)
135
- btn5.click(ppComic,inputs=english,outputs=img4)
136
 
137
  #ppComic
138
  examples = gr.Examples(examples=["I went to the supermarket yesterday.", "Helen is a good swimmer."],
 
76
  proc2=gr.Interface.load(f"models/{model_20}",live=False,preprocess=True, postprocess=False)
77
  proc3=gr.Interface.load(f"models/{model_17}",live=False,preprocess=True, postprocess=False)
78
 
79
+ """
80
  ppComic=gr.Interface.load(
81
  name="models/ogkalu/Comic-Diffusion",
82
+ title="Comic Diffusion",
83
+ description="Demo for <a href='https://huggingface.co/ogkalu/Comic-Diffusion'>Comic Diffusion</a> Stable Diffusion model.",
84
  article=article,
85
  api_key=API_KEY,
86
  )#.queue(concurrency_count=20).launch()
87
+ """
88
 
89
 
90
  #from transformers import pipeline
 
133
  btn2.click(proc1,inputs=english,outputs=img1)
134
  btn3.click(proc2,inputs=english,outputs=img2)
135
  btn4.click(proc3,inputs=english,outputs=img3)
136
+ #btn5.click(ppComic,inputs=english,outputs=img4)
137
 
138
  #ppComic
139
  examples = gr.Examples(examples=["I went to the supermarket yesterday.", "Helen is a good swimmer."],