Spaces:
Sleeping
Sleeping
Create Goodnight.py
Browse files- Goodnight.py +9 -0
Goodnight.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
def goodnight(goodnight):
|
| 3 |
+
return f"Becouse before sleep you left this{goodnight}.This is your positve way to good sleep."
|
| 4 |
+
goodnight = gr.Textbox("How do you want to end this day, what will you set aside, and what will you not take to sleep?")
|
| 5 |
+
gr.Interface(
|
| 6 |
+
fn = goodnight,
|
| 7 |
+
inputs = [goodnight]
|
| 8 |
+
outputs = 'text'
|
| 9 |
+
).launch()
|