Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,7 @@ def star_fn(inp):
|
|
70 |
inp+=" "
|
71 |
uid=uuid.uuid4()
|
72 |
output=proc2.send_it(inp,5,1)
|
|
|
73 |
outp=Image.open(output[0])
|
74 |
|
75 |
print("removing background")
|
@@ -95,8 +96,8 @@ with gr.Blocks() as app:
|
|
95 |
update_game=gr.Button("Use Image")
|
96 |
out_im_sky=gr.Image(type='filepath',width=50)
|
97 |
out_im_star=gr.Image(type='filepath',width=50)
|
98 |
-
out_sky_url=gr.Textbox(visible=
|
99 |
-
out_star_url=gr.Textbox(visible=
|
100 |
#start_prompt=gr.Textbox(value="beautiful landscape, real, 8k",visible=False)
|
101 |
html_game = gr.HTML()
|
102 |
|
|
|
70 |
inp+=" "
|
71 |
uid=uuid.uuid4()
|
72 |
output=proc2.send_it(inp,5,1)
|
73 |
+
print(output)
|
74 |
outp=Image.open(output[0])
|
75 |
|
76 |
print("removing background")
|
|
|
96 |
update_game=gr.Button("Use Image")
|
97 |
out_im_sky=gr.Image(type='filepath',width=50)
|
98 |
out_im_star=gr.Image(type='filepath',width=50)
|
99 |
+
out_sky_url=gr.Textbox(visible=True)
|
100 |
+
out_star_url=gr.Textbox(visible=True)
|
101 |
#start_prompt=gr.Textbox(value="beautiful landscape, real, 8k",visible=False)
|
102 |
html_game = gr.HTML()
|
103 |
|