Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -245,8 +245,8 @@ agent.prompt_templates["system_prompt"] += """
|
|
| 245 |
def run_agent(
|
| 246 |
query,
|
| 247 |
image_prompt_param="",
|
| 248 |
-
nsfw_detection_input,
|
| 249 |
-
video_image_input,
|
| 250 |
video_prompt_param="",
|
| 251 |
video_duration_param=4.0,
|
| 252 |
video_steps_param=20,
|
|
@@ -433,7 +433,7 @@ with gr.Blocks(title="Jerry AI Assistant") as demo:
|
|
| 433 |
fn=run_agent,
|
| 434 |
inputs=[
|
| 435 |
gr.Textbox(visible=False),
|
| 436 |
-
query_img
|
| 437 |
gr.Image(visible=False),
|
| 438 |
gr.Image(visible=False),
|
| 439 |
gr.Textbox(visible=False),
|
|
|
|
| 245 |
def run_agent(
|
| 246 |
query,
|
| 247 |
image_prompt_param="",
|
| 248 |
+
nsfw_detection_input=None,
|
| 249 |
+
video_image_input=None,
|
| 250 |
video_prompt_param="",
|
| 251 |
video_duration_param=4.0,
|
| 252 |
video_steps_param=20,
|
|
|
|
| 433 |
fn=run_agent,
|
| 434 |
inputs=[
|
| 435 |
gr.Textbox(visible=False),
|
| 436 |
+
query_img,
|
| 437 |
gr.Image(visible=False),
|
| 438 |
gr.Image(visible=False),
|
| 439 |
gr.Textbox(visible=False),
|