Spaces:
Sleeping
Sleeping
Commit
·
cf2a9e1
1
Parent(s):
ea074c0
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,11 @@ print("google-generativeai:", genai.__version__)
|
|
12 |
|
13 |
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
16 |
SUBTITLE = """<h2 align="center">Movie Editing Agent built with Gemini Pro and Gemini Pro Vision API</h2>"""
|
17 |
GETKEY = """
|
18 |
<div style="text-align: center; display: flex; justify-content: center; align-items: center;">
|
@@ -292,12 +296,11 @@ bot_inputs = [
|
|
292 |
|
293 |
with gr.Blocks() as demo:
|
294 |
with gr.Tab("Company Analysis"):
|
295 |
-
gr.HTML(
|
296 |
-
|
297 |
-
gr.HTML("""<a href="https://www.linkedin.com/feed/update/urn:li:activity:7143126271470804993/">How This Script Was Made</a>""")
|
298 |
|
299 |
with gr.Tab("Investment Strategy"):
|
300 |
-
gr.HTML(
|
301 |
gr.HTML(SUBTITLE)
|
302 |
gr.HTML(GETKEY)
|
303 |
with gr.Column():
|
@@ -341,9 +344,8 @@ with gr.Blocks() as demo:
|
|
341 |
)
|
342 |
|
343 |
with gr.Tab("Profit Prophet"):
|
344 |
-
gr.HTML(
|
345 |
-
|
346 |
-
gr.HTML("""<a href="https://runwayml.com/">Runway.ai Image2Video</a>""")
|
347 |
with gr.Row():
|
348 |
with gr.Column(scale=1):
|
349 |
gr.Image(value = "resources/imageinput.jpg")
|
|
|
12 |
|
13 |
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
|
14 |
|
15 |
+
|
16 |
+
TITLE1 = """<h1 align="center">Company Analysis</h1>"""
|
17 |
+
TITLE2 = """<h1 align="center">Investment Strategy</h1>"""
|
18 |
+
TITLE3 = """<h1 align="center">Profit Prohet</h1>"""
|
19 |
+
|
20 |
SUBTITLE = """<h2 align="center">Movie Editing Agent built with Gemini Pro and Gemini Pro Vision API</h2>"""
|
21 |
GETKEY = """
|
22 |
<div style="text-align: center; display: flex; justify-content: center; align-items: center;">
|
|
|
296 |
|
297 |
with gr.Blocks() as demo:
|
298 |
with gr.Tab("Company Analysis"):
|
299 |
+
gr.HTML(TITLE1)
|
300 |
+
|
|
|
301 |
|
302 |
with gr.Tab("Investment Strategy"):
|
303 |
+
gr.HTML(TITLE2)
|
304 |
gr.HTML(SUBTITLE)
|
305 |
gr.HTML(GETKEY)
|
306 |
with gr.Column():
|
|
|
344 |
)
|
345 |
|
346 |
with gr.Tab("Profit Prophet"):
|
347 |
+
gr.HTML(TITLE3)
|
348 |
+
|
|
|
349 |
with gr.Row():
|
350 |
with gr.Column(scale=1):
|
351 |
gr.Image(value = "resources/imageinput.jpg")
|