Spaces:
Paused
Paused
nekoshadow
commited on
Commit
·
c500f11
1
Parent(s):
3a48cd6
Fix import issue
Browse files
app.py
CHANGED
@@ -277,7 +277,7 @@ def run_demo():
|
|
277 |
# crop_btn.click(fn=resize_inputs, inputs=[sam_block, crop_size], outputs=[input_block], queue=False)\
|
278 |
# .success(fn=partial(update_guide, _USER_GUIDE2), outputs=[guide_text], queue=False)
|
279 |
|
280 |
-
azimuth.render()
|
281 |
target_index = round(azimuth % 360 / 22.5)
|
282 |
run_btn.click(partial(generate, pipe), inputs=[input_block, target_index], outputs=[output_block], queue=True)\
|
283 |
.success(fn=partial(update_guide, _USER_GUIDE3), outputs=[guide_text], queue=False)
|
|
|
277 |
# crop_btn.click(fn=resize_inputs, inputs=[sam_block, crop_size], outputs=[input_block], queue=False)\
|
278 |
# .success(fn=partial(update_guide, _USER_GUIDE2), outputs=[guide_text], queue=False)
|
279 |
|
280 |
+
# azimuth.render()
|
281 |
target_index = round(azimuth % 360 / 22.5)
|
282 |
run_btn.click(partial(generate, pipe), inputs=[input_block, target_index], outputs=[output_block], queue=True)\
|
283 |
.success(fn=partial(update_guide, _USER_GUIDE3), outputs=[guide_text], queue=False)
|