delete flag
Build-Deploy-Actions
Details
Build-Deploy-Actions
Details
This commit is contained in:
parent
14874eb5ef
commit
544b3f125d
2
app.py
2
app.py
|
@ -27,8 +27,10 @@ demo = gr.Interface(fn=text2image,
|
||||||
outputs='image',
|
outputs='image',
|
||||||
theme = theme,
|
theme = theme,
|
||||||
css = "footer {visibility: hidden}",
|
css = "footer {visibility: hidden}",
|
||||||
|
allow_flagging = "never",
|
||||||
examples = ['a photo of an astronaut riding a horse on mars'])
|
examples = ['a photo of an astronaut riding a horse on mars'])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
demo.queue(concurrency_count=10).launch(server_name = "0.0.0.0")
|
demo.queue(concurrency_count=10).launch(server_name = "0.0.0.0")
|
||||||
|
|
Loading…
Reference in New Issue