Spaces:
Runtime error
Runtime error
Commit
·
66bdec8
1
Parent(s):
5d0fa3e
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,11 @@ with gr.Blocks() as demo:
|
|
118 |
#gr.Markdown("Based on dataset [here](https://huggingface.co/datasets/freddyaboulton/gradio-reviews)")
|
119 |
data = gr.Dataframe()
|
120 |
count = gr.Number(label="Rates!")
|
121 |
-
|
|
|
|
|
|
|
|
|
122 |
with gr.Row():
|
123 |
with gr.Column():
|
124 |
chatbot = gr.Chatbot()
|
|
|
118 |
#gr.Markdown("Based on dataset [here](https://huggingface.co/datasets/freddyaboulton/gradio-reviews)")
|
119 |
data = gr.Dataframe()
|
120 |
count = gr.Number(label="Rates!")
|
121 |
+
with gr.Column():
|
122 |
+
name = gr.Textbox(label="Name", placeholder="What is your name?")
|
123 |
+
review = gr.Radio(label="How satisfied are you with using gradio?", choices=[1, 2, 3, 4, 5])
|
124 |
+
comments = gr.Textbox(label="Comments", lines=10, placeholder="Do you have any feedback on gradio?")
|
125 |
+
submit = gr.Button(value="Submit Feedback")
|
126 |
with gr.Row():
|
127 |
with gr.Column():
|
128 |
chatbot = gr.Chatbot()
|