hsienchen commited on
Commit
b8f63e5
1 Parent(s): ff4972d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -71,12 +71,13 @@ def send_SMS(resp_text):
71
 
72
  # gradio block
73
  with gr.Blocks() as app1:
74
- with gr.Column():
 
75
  image_box = gr.Image(type="filepath")
76
- btn1 = gr.Button("Make a Plan")
77
- out1 = gr.Textbox(label="here are the plans...")
78
- btn2 = gr.Button("Send to My Mobile")
79
- out2 = gr.Textbox(label="from SMS gateway...")
80
 
81
  btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
82
  btn2.click(fn=send_SMS, inputs=out1, outputs=out2)
 
71
 
72
  # gradio block
73
  with gr.Blocks() as app1:
74
+ with gr.Column():
75
+ gr.Markdown(`screen capture content and paste here`)
76
  image_box = gr.Image(type="filepath")
77
+ btn1 = gr.Button("generate To-Dos")
78
+ out1 = gr.Textbox(label="here are the actionables...")
79
+ btn2 = gr.Button("Send to Mobile")
80
+ out2 = gr.Textbox(label="response from SMS gateway...")
81
 
82
  btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
83
  btn2.click(fn=send_SMS, inputs=out1, outputs=out2)