Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,17 +53,20 @@ with gr.Blocks() as demo:
|
|
53 |
<h3 align='center'>Wat fir een Thema interesséiert Iech : 🐶 🏃🏻♂️ 🌗 🍇 🌈 🍽️ 🏆 🚘 ✈️ 🩺 </h3>
|
54 |
<table width=100%>
|
55 |
<tr>
|
56 |
-
|
57 |
</tr>
|
58 |
</table>
|
59 |
"""
|
60 |
)
|
61 |
with gr.Row():
|
62 |
-
|
63 |
-
gr.Radio(["Sich", "Beispiller"], label = "D'Beispiller fonktionnéieren ouni Passwuert.", value = "Beispiller"),
|
64 |
-
gr.Textbox(lines=1, label="Gitt dat richtegt RTL-Passwuert an !", scale=1)
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
67 |
]
|
68 |
with gr.Row():
|
69 |
clear = gr.Button("Clear")
|
@@ -79,5 +82,5 @@ with gr.Blocks() as demo:
|
|
79 |
)
|
80 |
with gr.Row():
|
81 |
myOutput = [gr.Textbox(lines=12)]
|
82 |
-
submit.click(fn = myFunction, inputs =
|
83 |
demo.launch()
|
|
|
53 |
<h3 align='center'>Wat fir een Thema interesséiert Iech : 🐶 🏃🏻♂️ 🌗 🍇 🌈 🍽️ 🏆 🚘 ✈️ 🩺 </h3>
|
54 |
<table width=100%>
|
55 |
<tr>
|
56 |
+
<th width=50% bgcolor="Moccasin">Stell deng Froen op Lëtzebuergesch, oder an enger anerer Sprooch :</th>
|
57 |
</tr>
|
58 |
</table>
|
59 |
"""
|
60 |
)
|
61 |
with gr.Row():
|
62 |
+
myInput_1 = [
|
63 |
+
gr.Radio(["Sich", "Beispiller"], label = "D'Beispiller fonktionnéieren ouni Passwuert.", value = "Beispiller", scale = 3),
|
64 |
+
gr.Textbox(lines=1, label="Gitt dat richtegt RTL-Passwuert an !", scale=1)
|
65 |
+
]
|
66 |
+
with gr.Row():
|
67 |
+
myInput_2 = gr.Textbox(lines=3, label="Wat wëllt Der wëssen ?")
|
68 |
+
with gr.Row():
|
69 |
+
myInput_3 = gr.Radio(["Wat war lass am Juni 2023 ?", "Wat ass gewosst iwwert de SREL ?", "Wat fir eng Katastroph war 2022 zu Lëtzebuerg ?", "Koumen an de leschte Jore gréisser Kriminalfäll viru Geriicht ?"], label="Beispiller")
|
70 |
]
|
71 |
with gr.Row():
|
72 |
clear = gr.Button("Clear")
|
|
|
82 |
)
|
83 |
with gr.Row():
|
84 |
myOutput = [gr.Textbox(lines=12)]
|
85 |
+
submit.click(fn = myFunction, inputs = [myInput_1, myInput_2, myInput_3], outputs = myOutput)
|
86 |
demo.launch()
|