Spaces:
Build error
Build error
fix layout
#1
by
loubnabnl
HF staff
- opened
app.py
CHANGED
@@ -39,14 +39,17 @@ def check_username(username, version):
|
|
39 |
return output_md.strip()
|
40 |
|
41 |
with gr.Blocks() as demo:
|
42 |
-
gr.
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
50 |
|
51 |
|
52 |
demo.launch()
|
|
|
39 |
return output_md.strip()
|
40 |
|
41 |
with gr.Blocks() as demo:
|
42 |
+
with gr.Row():
|
43 |
+
_, colum_2, _ = gr.Column(scale=1), gr.Column(scale=6), gr.Column(scale=1)
|
44 |
+
with colum_2:
|
45 |
+
gr.Markdown(text)
|
46 |
+
version = gr.Dropdown(["v1.1", "v1.0"], label="The Stack version:", value="v1.1")
|
47 |
+
username = gr.Text("", label="Your GitHub username:")
|
48 |
+
check_button = gr.Button("Check!")
|
49 |
+
|
50 |
+
repos = gr.Markdown()
|
51 |
+
|
52 |
+
check_button.click(check_username, [username, version], repos)
|
53 |
|
54 |
|
55 |
demo.launch()
|