Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ with gr.Blocks() as demo:
|
|
| 61 |
temperature = gr.Slider(0, 50, step=1, label="Ubushyuhe (°C)", value=22)
|
| 62 |
humidity = gr.Slider(0, 100, step=1, label="Humidity (%)", value=40) # hano wasize 'value' utuzuye
|
| 63 |
|
| 64 |
-
output = gr.Textbox(label="Ibisubizo bya
|
| 65 |
|
| 66 |
temperature.change(fn=climate_control, inputs=[temperature, humidity], outputs=output)
|
| 67 |
humidity.change(fn=climate_control, inputs=[temperature, humidity], outputs=output)
|
|
|
|
| 61 |
temperature = gr.Slider(0, 50, step=1, label="Ubushyuhe (°C)", value=22)
|
| 62 |
humidity = gr.Slider(0, 100, step=1, label="Humidity (%)", value=40) # hano wasize 'value' utuzuye
|
| 63 |
|
| 64 |
+
output = gr.Textbox(label="Ibisubizo bya viateur AI", lines=12)
|
| 65 |
|
| 66 |
temperature.change(fn=climate_control, inputs=[temperature, humidity], outputs=output)
|
| 67 |
humidity.change(fn=climate_control, inputs=[temperature, humidity], outputs=output)
|