Update app.py
Browse files
app.py
CHANGED
@@ -9,14 +9,14 @@ from configs.responses import SummaryResponses
|
|
9 |
from google.genai import types
|
10 |
|
11 |
def main(args):
|
12 |
-
style_css = open(args.css_path, "r").read()
|
13 |
|
14 |
# global client, prompt_tmpl, system_instruction
|
15 |
# client = None#setup_gemini_client(args)
|
16 |
# prompt_tmpl = load_prompt(args)
|
17 |
|
18 |
## Gradio Blocks
|
19 |
-
with gr.Blocks(
|
20 |
# State per session
|
21 |
state = gr.State({
|
22 |
"messages": [],
|
|
|
9 |
from google.genai import types
|
10 |
|
11 |
def main(args):
|
12 |
+
# style_css = open(args.css_path, "r").read()
|
13 |
|
14 |
# global client, prompt_tmpl, system_instruction
|
15 |
# client = None#setup_gemini_client(args)
|
16 |
# prompt_tmpl = load_prompt(args)
|
17 |
|
18 |
## Gradio Blocks
|
19 |
+
with gr.Blocks() as demo:
|
20 |
# State per session
|
21 |
state = gr.State({
|
22 |
"messages": [],
|