Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,6 +52,14 @@ with gr.Blocks(theme="darkdefault") as demo:
|
|
52 |
rounded=(False, True, True, False),
|
53 |
)
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
gr.Markdown(
|
56 |
"""
|
57 |
AI generated metadata.
|
@@ -89,13 +97,7 @@ with gr.Blocks(theme="darkdefault") as demo:
|
|
89 |
)
|
90 |
|
91 |
|
92 |
-
|
93 |
-
inference,
|
94 |
-
inputs=[text,walletToken],
|
95 |
-
outputs=[build_result,description,imageData, traits, attribData],
|
96 |
-
status_tracker=generate_progress,
|
97 |
-
api_name="generate"
|
98 |
-
)
|
99 |
|
100 |
|
101 |
if __name__ == "__main__":
|
|
|
52 |
rounded=(False, True, True, False),
|
53 |
)
|
54 |
|
55 |
+
btn.click(
|
56 |
+
inference,
|
57 |
+
inputs=[text,walletToken],
|
58 |
+
outputs=[build_result,description,imageData, traits, attribData],
|
59 |
+
status_tracker=generate_progress,
|
60 |
+
api_name="generate"
|
61 |
+
)
|
62 |
+
|
63 |
gr.Markdown(
|
64 |
"""
|
65 |
AI generated metadata.
|
|
|
97 |
)
|
98 |
|
99 |
|
100 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
|
103 |
if __name__ == "__main__":
|