CognitiveScience commited on
Commit
344e7b1
1 Parent(s): 3333d36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -77,12 +77,13 @@ with gr.Blocks() as demo:
77
  #gr.Markdown("Based on dataset [here](https://huggingface.co/datasets/freddyaboulton/gradio-reviews)")
78
  data = gr.Dataframe()
79
  count = gr.Number(label="Rates!")
 
80
  with gr.Column():
81
- name = gr.Textbox(label="Name", placeholder="What is your name?")
82
- review = gr.Radio(label="How satisfied are you with using gradio?", choices=[1, 2, 3, 4, 5])
83
- comments = gr.Textbox(label="Comments", lines=10, placeholder="Do you have any feedback on gradio?")
84
- submit = gr.Button(value="")
85
-
86
  submit.click(add_review, [name, review, comments], [data, count])
87
  #demo.load(load_data, None, [data, count])
88
 
 
77
  #gr.Markdown("Based on dataset [here](https://huggingface.co/datasets/freddyaboulton/gradio-reviews)")
78
  data = gr.Dataframe()
79
  count = gr.Number(label="Rates!")
80
+ with gr.Row():
81
  with gr.Column():
82
+ name = gr.Textbox(label="a") #, placeholder="What is your name?")
83
+ review = gr.Textbox(label="b") #, placeholder="What is your name?") #gr.Radio(label="How satisfied are you with using gradio?", choices=[1, 2, 3, 4, 5])
84
+ comments = gr.Textbox(label="c") #, lines=10, placeholder="Do you have any feedback on gradio?")
85
+ submit = gr.Button(value=".")
86
+
87
  submit.click(add_review, [name, review, comments], [data, count])
88
  #demo.load(load_data, None, [data, count])
89