hsienchen commited on
Commit
2ad436c
β€’
1 Parent(s): e3be573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -107,12 +107,12 @@ def send_SMS(resp_text):
107
  # gradio block
108
  with gr.Blocks() as app1:
109
  with gr.Column():
110
- gr.Markdown("## to Samuraize ##")
111
  gr.Markdown("```for email βœ‰ and/or assigment descriptions ⌦, paste screenshot here...```")
112
- image_box = gr.Image(label="πŸ₯· email screen", type="filepath")
113
  btn1 = gr.Button("Generate To-Dos β˜‘")
114
  out1 = gr.Textbox(label="here are the actionables...")
115
- btn2 = gr.Button("Notify Related Parties πŸ‘₯")
116
  out2 = gr.Textbox(label="response from SMS gateway...")
117
 
118
  btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
@@ -132,12 +132,12 @@ with gr.Blocks() as app1:
132
 
133
  with gr.Blocks() as app2:
134
  with gr.Column():
135
- gr.Markdown("## Stock-Out Squirrel ##")
136
  gr.Markdown("```Win+Screenshot, paste ERP Inv ⌨ screenshot here...```")
137
- image_box = gr.Image(label="🦫 ERP screen",type="filepath")
138
  btn1 = gr.Button("Check ROQ β˜‘")
139
  out1 = gr.Textbox(label="here is the watch list πŸ“„...")
140
- btn2 = gr.Button("send out reminders β˜‘")
141
  out2 = gr.Textbox(label="response or feed back?")
142
 
143
  btn1.click(fn=app2_response, inputs=[image_box], outputs=out1)
@@ -156,8 +156,8 @@ with gr.Blocks() as app2:
156
  """)
157
 
158
  with gr.Blocks() as demo:
159
- gr.Markdown("## To-Do Summerizer + Stock-Out Simulator ##")
160
- gr.TabbedInterface([app1, app2], ["βž€ To-Do πŸ₯·", "➁ SOS 🦫"])
161
 
162
  demo.queue()
163
  demo.launch()
 
107
  # gradio block
108
  with gr.Blocks() as app1:
109
  with gr.Column():
110
+ gr.Markdown("## πŸ₯· to Samuraize ##")
111
  gr.Markdown("```for email βœ‰ and/or assigment descriptions ⌦, paste screenshot here...```")
112
+ image_box = gr.Image(label="βœ‚ email screen", type="filepath")
113
  btn1 = gr.Button("Generate To-Dos β˜‘")
114
  out1 = gr.Textbox(label="here are the actionables...")
115
+ btn2 = gr.Button("send to Mobile ⌲")
116
  out2 = gr.Textbox(label="response from SMS gateway...")
117
 
118
  btn1.click(fn=app1_response, inputs=[image_box], outputs=out1)
 
132
 
133
  with gr.Blocks() as app2:
134
  with gr.Column():
135
+ gr.Markdown("## 🦫 Stock-Out Squirrel ##")
136
  gr.Markdown("```Win+Screenshot, paste ERP Inv ⌨ screenshot here...```")
137
+ image_box = gr.Image(label="βœ‚ ERP screen",type="filepath")
138
  btn1 = gr.Button("Check ROQ β˜‘")
139
  out1 = gr.Textbox(label="here is the watch list πŸ“„...")
140
+ btn2 = gr.Button("send out reminders ⌲")
141
  out2 = gr.Textbox(label="response or feed back?")
142
 
143
  btn1.click(fn=app2_response, inputs=[image_box], outputs=out1)
 
156
  """)
157
 
158
  with gr.Blocks() as demo:
159
+ gr.Markdown("## To-Do Samuraizer πŸ₯· + Stock-Out Squirrel🦫 ##")
160
+ gr.TabbedInterface([app1, app2], ["βž€ To-Do", "➁ SOS"])
161
 
162
  demo.queue()
163
  demo.launch()