m-ric HF Staff commited on
Commit
b90761e
·
verified ·
1 Parent(s): 1a3bf20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -548,14 +548,6 @@ with gr.Blocks(theme=theme, css=custom_css, js=custom_js) as demo:
548
  #Storing session hash in a state variable
549
  session_hash_state = gr.State(None)
550
 
551
- with Modal(visible=True) as modal:
552
- gr.Markdown("""### Welcome to our Computer agent demo
553
- Welcome! In this app, you'll be able to interact with an agent powered by smolagents and Qwen-VL: type a task in the left sidebar, click the button, and see the agent trying to solve your task.
554
-
555
- _Please note that we store the tasks given to this agent. Do not put any confidential information!_
556
-
557
- _You can reach out at @hf.co to request deletion of information._
558
- """)
559
 
560
  with gr.Row():
561
  sandbox_html = gr.HTML(
@@ -567,6 +559,15 @@ _You can reach out at @hf.co to request deletion of information._
567
  label="Output"
568
  )
569
  with gr.Sidebar(position="left"):
 
 
 
 
 
 
 
 
 
570
  task_input = gr.Textbox(
571
  value="Download a picture of a cute puppy from Google",
572
  label="Enter your task below:",
 
548
  #Storing session hash in a state variable
549
  session_hash_state = gr.State(None)
550
 
 
 
 
 
 
 
 
 
551
 
552
  with gr.Row():
553
  sandbox_html = gr.HTML(
 
559
  label="Output"
560
  )
561
  with gr.Sidebar(position="left"):
562
+ with Modal(visible=True) as modal:
563
+ gr.Markdown("""### Welcome to smolagent's Computer agent demo 🖥️
564
+ In this app, you'll be able to interact with an agent powered by [smolagents](https://github.com/huggingface/smolagents) and [Qwen-VL](https://huggingface.co/Qwen/Qwen2.5-VL-72B-Instruct).
565
+
566
+ 👉 Type a task in the left sidebar, click the button, and watch the agent solving your task. ✨
567
+
568
+ _Please note that we store the tasks given to this agent. Do not put any confidential information!_
569
+ _You can reach out at @hf.co to request deletion of information._
570
+ """)
571
  task_input = gr.Textbox(
572
  value="Download a picture of a cute puppy from Google",
573
  label="Enter your task below:",