Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ interface = gr.Interface(
|
|
| 28 |
fn=chat_with_groq,
|
| 29 |
inputs=gr.Textbox(lines=2, placeholder="Ask me anything..."),
|
| 30 |
outputs=gr.Textbox(),
|
| 31 |
-
title="Hala
|
| 32 |
description="Type your question below and get a response powered by Groq's Llama 3.1-8B model.",
|
| 33 |
theme="default",
|
| 34 |
examples=["What is the capital of Jordan?", "Explain quantum computing in simple terms."],
|
|
@@ -38,7 +38,7 @@ interface = gr.Interface(
|
|
| 38 |
# Layout with logo aligned to the right
|
| 39 |
with gr.Blocks() as app:
|
| 40 |
with gr.Row():
|
| 41 |
-
gr.Column(scale=3) # Empty space or
|
| 42 |
with gr.Column(scale=1, min_width=200):
|
| 43 |
gr.Image("Apr 2025.jpg", show_label=False, width=150, height=150)
|
| 44 |
interface.render()
|
|
|
|
| 28 |
fn=chat_with_groq,
|
| 29 |
inputs=gr.Textbox(lines=2, placeholder="Ask me anything..."),
|
| 30 |
outputs=gr.Textbox(),
|
| 31 |
+
title="Hala Chatbot",
|
| 32 |
description="Type your question below and get a response powered by Groq's Llama 3.1-8B model.",
|
| 33 |
theme="default",
|
| 34 |
examples=["What is the capital of Jordan?", "Explain quantum computing in simple terms."],
|
|
|
|
| 38 |
# Layout with logo aligned to the right
|
| 39 |
with gr.Blocks() as app:
|
| 40 |
with gr.Row():
|
| 41 |
+
gr.Column(scale=3) # Empty space or Right content (you can place text here if needed)
|
| 42 |
with gr.Column(scale=1, min_width=200):
|
| 43 |
gr.Image("Apr 2025.jpg", show_label=False, width=150, height=150)
|
| 44 |
interface.render()
|