Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
40476de
1
Parent(s):
6f94a0d
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def send_it(inputs, model_choice):
|
|
41 |
return proc(inputs)
|
42 |
|
43 |
|
44 |
-
with gr.Blocks (css =
|
45 |
|
46 |
gr.HTML(" <div style='font-size: 20px; font-family:verdana; background-color:#e41211; color:#FFFFFF; border:1px solid #FFFFFF; border-radius: 10px; width:50%; height: 30px; float: left; text-align:center;'> Your Promt Here</div> <div style='font-size: 20px; font-family:verdana; background-color:#e41211; color:#FFFFFF; border:1px solid #FFFFFF; border-radius: 10px; width:50%; height: 30px; float:right;text-align: center;'> Choose model here </div> " )
|
47 |
with gr.Row():
|
@@ -83,4 +83,4 @@ with gr.Blocks (css = 'main.css') as myface:
|
|
83 |
|
84 |
title="Daylight (SD) ",
|
85 |
myface.queue(concurrency_count=200)
|
86 |
-
myface.launch(inline=True, share=True,
|
|
|
41 |
return proc(inputs)
|
42 |
|
43 |
|
44 |
+
with gr.Blocks (css ='main.css') as myface:
|
45 |
|
46 |
gr.HTML(" <div style='font-size: 20px; font-family:verdana; background-color:#e41211; color:#FFFFFF; border:1px solid #FFFFFF; border-radius: 10px; width:50%; height: 30px; float: left; text-align:center;'> Your Promt Here</div> <div style='font-size: 20px; font-family:verdana; background-color:#e41211; color:#FFFFFF; border:1px solid #FFFFFF; border-radius: 10px; width:50%; height: 30px; float:right;text-align: center;'> Choose model here </div> " )
|
47 |
with gr.Row():
|
|
|
83 |
|
84 |
title="Daylight (SD) ",
|
85 |
myface.queue(concurrency_count=200)
|
86 |
+
myface.launch(inline=True, share=True, max_threads=400)
|