Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def infer(prompt,image):
|
|
17 |
print(result)
|
18 |
return result[0]
|
19 |
|
20 |
-
with gr.
|
21 |
with gr.Column():
|
22 |
prompt = gr.Textbox(placeholder="enter prompt")
|
23 |
image = gr.Image(source="upload", type="filepath")
|
|
|
17 |
print(result)
|
18 |
return result[0]
|
19 |
|
20 |
+
with gr.Blocks() as demo:
|
21 |
with gr.Column():
|
22 |
prompt = gr.Textbox(placeholder="enter prompt")
|
23 |
image = gr.Image(source="upload", type="filepath")
|