Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
# HTML для прогресс-бара
|
4 |
+
progress_bar_html = """
|
5 |
+
<div style="width: 100%; background-color: #e0e0e0; border-radius: 10px; overflow: hidden;">
|
6 |
+
<div style="width: 7%; background-color: #4caf50; height: 20px; text-align: center; color: white;">
|
7 |
+
7%
|
8 |
+
</div>
|
9 |
+
</div>
|
10 |
+
"""
|
11 |
+
|
12 |
+
# Интерфейс Gradio
|
13 |
+
with gr.Blocks() as demo:
|
14 |
+
gr.HTML(progress_bar_html)
|
15 |
+
|
16 |
+
demo.launch()
|