Update app.py
Browse files
app.py
CHANGED
|
@@ -81,6 +81,15 @@ with gr.Blocks() as demo:
|
|
| 81 |
with gr.Column():
|
| 82 |
app_output = [gr.Image(type="numpy"), gr.JSON()]
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
start_button.click(run, inputs=app_input, outputs=app_output)
|
| 85 |
|
| 86 |
gr.HTML('<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FRasterScan%2FAutomated-Floor-Plan-Digitalization"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FRasterScan%2FAutomated-Floor-Plan-Digitalization&label=Visitors&countColor=%2337d67a" /></a>')
|
|
|
|
| 81 |
with gr.Column():
|
| 82 |
app_output = [gr.Image(type="numpy"), gr.JSON()]
|
| 83 |
|
| 84 |
+
api_prompt = gr.HTML(
|
| 85 |
+
visible=True,
|
| 86 |
+
value="""<div class="api-container">
|
| 87 |
+
<a href='https://rapidapi.com/akashdev2016/api/floor-plan-digitalization' target='_blank' class="api-button">
|
| 88 |
+
<h3>🚀 Use an free API</h3>
|
| 89 |
+
</a>
|
| 90 |
+
</div>"""
|
| 91 |
+
)
|
| 92 |
+
|
| 93 |
start_button.click(run, inputs=app_input, outputs=app_output)
|
| 94 |
|
| 95 |
gr.HTML('<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FRasterScan%2FAutomated-Floor-Plan-Digitalization"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FRasterScan%2FAutomated-Floor-Plan-Digitalization&label=Visitors&countColor=%2337d67a" /></a>')
|