Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,15 +61,27 @@ def chat_stream_completion(message, history):
|
|
61 |
message_repl = message_repl + chunk['choices'][0]["text"]
|
62 |
yield message_repl
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
def launcher():
|
66 |
with gr.Blocks(css=css) as demo:
|
67 |
gr.Markdown("# Think Paraguayo")
|
68 |
-
gr.Markdown("## Conoce la cultura guaran
|
69 |
|
70 |
with gr.Row(variant='panel'):
|
71 |
with gr.Column(scale=1):
|
72 |
-
gr.Image(value="think_paraguayo.jpeg", type="filepath", label="
|
73 |
|
74 |
with gr.Column(scale=1):
|
75 |
|
|
|
61 |
message_repl = message_repl + chunk['choices'][0]["text"]
|
62 |
yield message_repl
|
63 |
|
64 |
+
css = """
|
65 |
+
h1 {
|
66 |
+
font-size: 32px;
|
67 |
+
text-align: center;
|
68 |
+
}
|
69 |
+
h2 {
|
70 |
+
text-align: center;
|
71 |
+
}
|
72 |
+
img {
|
73 |
+
height: 750px; /* Reducing the image height */
|
74 |
+
}
|
75 |
+
"""
|
76 |
|
77 |
def launcher():
|
78 |
with gr.Blocks(css=css) as demo:
|
79 |
gr.Markdown("# Think Paraguayo")
|
80 |
+
gr.Markdown("## Conoce la cultura guaraní.")
|
81 |
|
82 |
with gr.Row(variant='panel'):
|
83 |
with gr.Column(scale=1):
|
84 |
+
gr.Image(value="think_paraguayo.jpeg", type="filepath", label="")
|
85 |
|
86 |
with gr.Column(scale=1):
|
87 |
|