Update app.py
Browse files
app.py
CHANGED
|
@@ -2,22 +2,8 @@
|
|
| 2 |
|
| 3 |
# https://www.gradio.app/guides/quickstart
|
| 4 |
|
| 5 |
-
import os
|
| 6 |
import gradio as gr
|
| 7 |
-
import gradio.utils
|
| 8 |
-
|
| 9 |
-
###
|
| 10 |
-
os.environ["CREWAI_TRACING_ENABLED"] = "false"
|
| 11 |
-
|
| 12 |
-
import crewai.events.listeners.tracing.utils
|
| 13 |
-
|
| 14 |
-
def tracing_confirmation(*args, **kwargs):
|
| 15 |
-
pass
|
| 16 |
-
|
| 17 |
-
crewai.events.listeners.tracing.utils.on_first_execution_tracing_confirmation = tracing_confirmation
|
| 18 |
-
crewai.events.listeners.tracing.utils.prompt_user_for_trace_viewing = tracing_confirmation
|
| 19 |
-
###
|
| 20 |
-
|
| 21 |
from agents.crew import run_crew
|
| 22 |
from utils.utils import get_questions
|
| 23 |
|
|
@@ -122,11 +108,11 @@ main,
|
|
| 122 |
padding-right: 1.5rem;
|
| 123 |
}
|
| 124 |
|
| 125 |
-
.full-width-
|
| 126 |
width: 100%;
|
| 127 |
}
|
| 128 |
|
| 129 |
-
.full-width-
|
| 130 |
max-width: 100%;
|
| 131 |
width: 100%;
|
| 132 |
}
|
|
|
|
| 2 |
|
| 3 |
# https://www.gradio.app/guides/quickstart
|
| 4 |
|
| 5 |
+
import gradio.utils, os
|
| 6 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
from agents.crew import run_crew
|
| 8 |
from utils.utils import get_questions
|
| 9 |
|
|
|
|
| 108 |
padding-right: 1.5rem;
|
| 109 |
}
|
| 110 |
|
| 111 |
+
.full-width-tabs2 {
|
| 112 |
width: 100%;
|
| 113 |
}
|
| 114 |
|
| 115 |
+
.full-width-tabs2 .gradio-block {
|
| 116 |
max-width: 100%;
|
| 117 |
width: 100%;
|
| 118 |
}
|