delete flag
Build-Deploy-Actions Details

This commit is contained in:
jianjiang 2023-04-26 15:27:30 +08:00
parent 14874eb5ef
commit 544b3f125d
1 changed files with 2 additions and 0 deletions

2
app.py
View File

@ -27,8 +27,10 @@ demo = gr.Interface(fn=text2image,
outputs='image',
theme = theme,
css = "footer {visibility: hidden}",
allow_flagging = "never",
examples = ['a photo of an astronaut riding a horse on mars'])
if __name__ == "__main__":
demo.queue(concurrency_count=10).launch(server_name = "0.0.0.0")