Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,13 +50,7 @@ def llm_response(history,text,img):
|
|
50 |
def sentence_builder(animal, place):
|
51 |
return f"""how many {animal}s from the {place} are shown in the picture?"""
|
52 |
|
53 |
-
|
54 |
-
## Multimodal Descript ##
|
55 |
-
|
56 |
-
<h5 align="center"><i>"Imagine learning XXXX."</i></h5>
|
57 |
-
|
58 |
-
Multimodal-CoT incorporates vision features in a decoupled training framework. The framework consists of two training stages: (i) rationale generation and (ii) answer inference. Both stages share the same model architecture but differ in the input and output.
|
59 |
-
""")
|
60 |
# gradio block
|
61 |
|
62 |
with gr.Blocks(theme='freddyaboulton/dracula_revamped') as app1:
|
@@ -90,7 +84,6 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as app1:
|
|
90 |
|
91 |
with gr.Blocks(theme='snehilsanyal/scikit-learn') as app2:
|
92 |
gr.Markdown("## MM 2 ##")
|
93 |
-
title = descript1
|
94 |
with gr.Row():
|
95 |
image_box = gr.Image(type="filepath")
|
96 |
|
|
|
50 |
def sentence_builder(animal, place):
|
51 |
return f"""how many {animal}s from the {place} are shown in the picture?"""
|
52 |
|
53 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
# gradio block
|
55 |
|
56 |
with gr.Blocks(theme='freddyaboulton/dracula_revamped') as app1:
|
|
|
84 |
|
85 |
with gr.Blocks(theme='snehilsanyal/scikit-learn') as app2:
|
86 |
gr.Markdown("## MM 2 ##")
|
|
|
87 |
with gr.Row():
|
88 |
image_box = gr.Image(type="filepath")
|
89 |
|