Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,9 @@ import gradio as gr
|
|
2 |
from utils.run_pipeline_and_save import run_pipeline_and_save
|
3 |
from utils.zip_output import zip_output
|
4 |
|
|
|
|
|
|
|
5 |
def run_agents(prompt):
|
6 |
if not prompt.strip():
|
7 |
return "Please enter a prompt.", None, None
|
|
|
2 |
from utils.run_pipeline_and_save import run_pipeline_and_save
|
3 |
from utils.zip_output import zip_output
|
4 |
|
5 |
+
import os
|
6 |
+
os.environ["PYTORCH_SDP_ATTENTION"] = "math"
|
7 |
+
|
8 |
def run_agents(prompt):
|
9 |
if not prompt.strip():
|
10 |
return "Please enter a prompt.", None, None
|