DetVape commited on
Commit
9fa09be
·
verified ·
1 Parent(s): d3b1d5b

Sync from GitHub via hub-sync

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -20,18 +20,13 @@ def git_sync():
20
 
21
  with gr.Blocks(title="VAPE - Private Agent") as demo:
22
  gr.Markdown("# VAPE • Private Mobile Agent")
23
- gr.Markdown("Full control • Local • Growing • Voice")
24
 
25
  with gr.Tab("Chat"):
26
  query = gr.Textbox(label="Talk to VAPE or give command")
27
  output = gr.Textbox(label="VAPE Response")
28
  gr.Button("Send").click(ask_vape, inputs=query, outputs=output)
29
 
30
- with gr.Tab("Voice"):
31
- audio_input = gr.Audio(source="microphone", type="filepath", label="Speak to VAPE")
32
- audio_output = gr.Audio(label="VAPE Reply")
33
- gr.Button("Send Voice").click(ask_vape, inputs=audio_input, outputs=audio_output)
34
-
35
  with gr.Tab("GitHub"):
36
  gr.Button("Sync to GitHub").click(git_sync)
37
 
 
20
 
21
  with gr.Blocks(title="VAPE - Private Agent") as demo:
22
  gr.Markdown("# VAPE • Private Mobile Agent")
23
+ gr.Markdown("Full control • Local • Growing")
24
 
25
  with gr.Tab("Chat"):
26
  query = gr.Textbox(label="Talk to VAPE or give command")
27
  output = gr.Textbox(label="VAPE Response")
28
  gr.Button("Send").click(ask_vape, inputs=query, outputs=output)
29
 
 
 
 
 
 
30
  with gr.Tab("GitHub"):
31
  gr.Button("Sync to GitHub").click(git_sync)
32