Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,13 @@ from e2bqwen import E2BVisionAgent, QwenVLAPIModel, get_agent_summary_erase_imag
|
|
20 |
load_dotenv(override=True)
|
21 |
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
E2B_API_KEY = os.getenv("E2B_API_KEY")
|
24 |
SANDBOXES = {}
|
25 |
SANDBOX_METADATA = {}
|
@@ -589,12 +596,7 @@ _Please note that we store the task logs by default so **do not write any person
|
|
589 |
run_btn = gr.Button("Let's go!", variant="primary")
|
590 |
|
591 |
gr.Examples(
|
592 |
-
examples=
|
593 |
-
"Use Google Maps to find the Hugging Face HQ in Paris",
|
594 |
-
"Go to Wikipedia and find what happened on April 4th",
|
595 |
-
"Find out the travel time by train from Bern to Basel on Google Maps",
|
596 |
-
"Go to Hugging Face Spaces and then find the Space flux.1 schnell. Use the space to generate an image with the prompt 'a field of gpus'",
|
597 |
-
],
|
598 |
inputs=task_input,
|
599 |
label="Example Tasks",
|
600 |
examples_per_page=4,
|
|
|
20 |
load_dotenv(override=True)
|
21 |
|
22 |
|
23 |
+
EXAMPLES = [
|
24 |
+
"Use Google Maps to find the Hugging Face HQ in Paris",
|
25 |
+
"Go to Wikipedia and find what happened on April 4th",
|
26 |
+
"Find out the travel time by train from Bern to Basel on Google Maps",
|
27 |
+
"Go to Hugging Face Spaces and then find the Space flux.1 schnell. Use the space to generate an image with the prompt 'a field of gpus'",
|
28 |
+
]
|
29 |
+
|
30 |
E2B_API_KEY = os.getenv("E2B_API_KEY")
|
31 |
SANDBOXES = {}
|
32 |
SANDBOX_METADATA = {}
|
|
|
596 |
run_btn = gr.Button("Let's go!", variant="primary")
|
597 |
|
598 |
gr.Examples(
|
599 |
+
examples=EXAMPLES,
|
|
|
|
|
|
|
|
|
|
|
600 |
inputs=task_input,
|
601 |
label="Example Tasks",
|
602 |
examples_per_page=4,
|