Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,17 +14,10 @@ with gr.Blocks() as demo:
|
|
| 14 |
label="description"
|
| 15 |
)
|
| 16 |
|
| 17 |
-
yes_btn = gr.Button(
|
| 18 |
-
"click here if you like the description",
|
| 19 |
-
visible=False
|
| 20 |
-
)
|
| 21 |
|
| 22 |
-
no_btn = gr.Button(
|
| 23 |
-
"if the description is not good, click here. I will try to find you a better description",
|
| 24 |
-
visible=False
|
| 25 |
-
)
|
| 26 |
|
| 27 |
-
|
| 28 |
topic_input.submit(
|
| 29 |
describe_topic,
|
| 30 |
inputs=topic_input,
|
|
|
|
| 14 |
label="description"
|
| 15 |
)
|
| 16 |
|
| 17 |
+
yes_btn = gr.Button("click here if you like the description")
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
no_btn = gr.Button("if the description is not good, click here. I will try to find you a better description")
|
|
|
|
|
|
|
|
|
|
| 20 |
|
|
|
|
| 21 |
topic_input.submit(
|
| 22 |
describe_topic,
|
| 23 |
inputs=topic_input,
|