Spaces:
Sleeping
Sleeping
Update gradio1final.py
Browse files- gradio1final.py +11 -2
gradio1final.py
CHANGED
@@ -588,17 +588,26 @@ def process_gradio(query, model_type):
|
|
588 |
except Exception as e:
|
589 |
# Ensure the function still returns four values, even in case of an error
|
590 |
return {}, str(e), "", []
|
591 |
-
|
592 |
image_path = r"C:\Users\shivanshu.t\Downloads\incedo-logo.png"
|
593 |
|
|
|
594 |
with gr.Blocks() as demo:
|
595 |
with gr.Row():
|
596 |
with gr.Column(scale=1):
|
597 |
# Add the image in the left corner
|
598 |
# gr.Image(value=image_path, show_label=False, height=45, width=45)
|
599 |
# gr.HTML(f'<img src="{image_link}" alt="Logo" height="50" width="50">')
|
600 |
-
gr.Image(value=image_path, show_label=False, height=50, width=50)
|
601 |
# gr.HTML(f'<img src="{image_path}" alt="Logo" height="50" width="100" style="display: block; margin-left: auto; margin-right: auto;">')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
602 |
|
603 |
gr.Markdown(
|
604 |
"""
|
|
|
588 |
except Exception as e:
|
589 |
# Ensure the function still returns four values, even in case of an error
|
590 |
return {}, str(e), "", []
|
591 |
+
|
592 |
image_path = r"C:\Users\shivanshu.t\Downloads\incedo-logo.png"
|
593 |
|
594 |
+
|
595 |
with gr.Blocks() as demo:
|
596 |
with gr.Row():
|
597 |
with gr.Column(scale=1):
|
598 |
# Add the image in the left corner
|
599 |
# gr.Image(value=image_path, show_label=False, height=45, width=45)
|
600 |
# gr.HTML(f'<img src="{image_link}" alt="Logo" height="50" width="50">')
|
601 |
+
# gr.Image(value=image_path, show_label=False, height=50, width=50)
|
602 |
# gr.HTML(f'<img src="{image_path}" alt="Logo" height="50" width="100" style="display: block; margin-left: auto; margin-right: auto;">')
|
603 |
+
# gr.HTML(f'<img src="https://mma.prnewswire.com/media/1807312/incedo_Logo.jpg" alt="Logo" height="50" width="80" style="display: block; margin-left: auto; margin-right: auto;">')
|
604 |
+
gr.HTML(
|
605 |
+
"""
|
606 |
+
<div style="text-align: left; padding: 10px;">
|
607 |
+
<img src="https://mma.prnewswire.com/media/1807312/incedo_Logo.jpg" alt="Logo" height="50" width="80">
|
608 |
+
</div>
|
609 |
+
"""
|
610 |
+
)
|
611 |
|
612 |
gr.Markdown(
|
613 |
"""
|