Spaces:
Runtime error
Runtime error
AchyuthGamer
commited on
Commit
•
c9900de
1
Parent(s):
4cb1300
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ proc1=gr.Interface.load("models/AchyuthGamer/ImMagician")
|
|
19 |
|
20 |
def restart_script_periodically():
|
21 |
while True:
|
22 |
-
random_time = random.randint(
|
23 |
time.sleep(random_time)
|
24 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
25 |
|
@@ -148,7 +148,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
148 |
input_text = gr.Textbox(
|
149 |
label="Short Prompt",
|
150 |
show_label=False,
|
151 |
-
max_lines=
|
152 |
placeholder="Enter a basic idea and click 'Magic Prompt'. Got no ideas? No problem, Simply just hit the magic button!",
|
153 |
).style(
|
154 |
container=False,min_width=1200
|
@@ -184,16 +184,16 @@ with gr.Blocks(css='style.css') as demo:
|
|
184 |
)
|
185 |
with gr.Row():
|
186 |
with gr.Row():
|
187 |
-
output1=gr.Image(label="ImMagician",show_label=True,min_width=640
|
188 |
-
output2=gr.Image(label="ImMagician",show_label=True,min_width=640
|
189 |
with gr.Row():
|
190 |
with gr.Row():
|
191 |
-
output3=gr.Image(label="ImMagician",show_label=True,min_width=640
|
192 |
-
output4=gr.Image(label="ImMagician",show_label=True,min_width=640
|
193 |
with gr.Row():
|
194 |
with gr.Row():
|
195 |
-
output5=gr.Image(label="ImMagician",show_label=True,min_width=640
|
196 |
-
outputX=gr.Image(label="ImMagician",show_label=True,min_width=640
|
197 |
#with gr.Row():
|
198 |
#with gr.Row():
|
199 |
#output0=gr.Image(label="PhotoMovieX",show_label=False,min_width=640)
|
|
|
19 |
|
20 |
def restart_script_periodically():
|
21 |
while True:
|
22 |
+
random_time = random.randint(2400, 6000)
|
23 |
time.sleep(random_time)
|
24 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
25 |
|
|
|
148 |
input_text = gr.Textbox(
|
149 |
label="Short Prompt",
|
150 |
show_label=False,
|
151 |
+
max_lines=20,
|
152 |
placeholder="Enter a basic idea and click 'Magic Prompt'. Got no ideas? No problem, Simply just hit the magic button!",
|
153 |
).style(
|
154 |
container=False,min_width=1200
|
|
|
184 |
)
|
185 |
with gr.Row():
|
186 |
with gr.Row():
|
187 |
+
output1=gr.Image(label="ImMagician",show_label=True,min_width=640)
|
188 |
+
output2=gr.Image(label="ImMagician",show_label=True,min_width=640)
|
189 |
with gr.Row():
|
190 |
with gr.Row():
|
191 |
+
output3=gr.Image(label="ImMagician",show_label=True,min_width=640)
|
192 |
+
output4=gr.Image(label="ImMagician",show_label=True,min_width=640)
|
193 |
with gr.Row():
|
194 |
with gr.Row():
|
195 |
+
output5=gr.Image(label="ImMagician",show_label=True,min_width=640)
|
196 |
+
outputX=gr.Image(label="ImMagician",show_label=True,min_width=640)
|
197 |
#with gr.Row():
|
198 |
#with gr.Row():
|
199 |
#output0=gr.Image(label="PhotoMovieX",show_label=False,min_width=640)
|