Spaces:
Runtime error
Runtime error
Commit
·
d46a46a
1
Parent(s):
d5d9309
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,12 +118,13 @@ with gr.Blocks() as demo:
|
|
| 118 |
with gr.Row():
|
| 119 |
data = gr.Dataframe()
|
| 120 |
count = gr.Number(label="Total number of reviews")
|
|
|
|
| 121 |
submit = gr.Button(value="Add Review")
|
|
|
|
| 122 |
|
| 123 |
-
submit.click(add_review, [name, review, comments], [data, count])
|
| 124 |
#data = gr.Dataframe()
|
| 125 |
count = gr.Number(label="Total number of reviews")
|
| 126 |
-
name = gr.Textbox(label="Name", placeholder="ur name?")
|
| 127 |
review = gr.Radio(label="How satisfied are you with your pick?", choices=[1, 2, 3, 4, 5, 6])
|
| 128 |
comments = gr.Textbox(label="Comments0", lines=10, placeholder="comm?")
|
| 129 |
cssubmit = gr.Button(value="Submit Choice")
|
|
|
|
| 118 |
with gr.Row():
|
| 119 |
data = gr.Dataframe()
|
| 120 |
count = gr.Number(label="Total number of reviews")
|
| 121 |
+
|
| 122 |
submit = gr.Button(value="Add Review")
|
| 123 |
+
name = gr.Textbox(label="Name", placeholder="ur name?")
|
| 124 |
|
|
|
|
| 125 |
#data = gr.Dataframe()
|
| 126 |
count = gr.Number(label="Total number of reviews")
|
| 127 |
+
#name = gr.Textbox(label="Name", placeholder="ur name?")
|
| 128 |
review = gr.Radio(label="How satisfied are you with your pick?", choices=[1, 2, 3, 4, 5, 6])
|
| 129 |
comments = gr.Textbox(label="Comments0", lines=10, placeholder="comm?")
|
| 130 |
cssubmit = gr.Button(value="Submit Choice")
|