Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -110,18 +110,7 @@ def query_model(question):
|
|
110 |
welcome_message = """
|
111 |
# 🌳 Welcome to GreenUnity!
|
112 |
|
113 |
-
|
114 |
-
gr.Image("https://huggingface.co/spaces/GreenUnityfinal/GreenUnityCollab/resolve/main/Green%20-3.png", show_label = False, show_share_button = False, show_download_button = False) # <-- insert here!!
|
115 |
-
gr.Markdown(welcome_message) # Display the formatted welcome message
|
116 |
-
with gr.Row():
|
117 |
-
with gr.Column():
|
118 |
-
gr.Markdown(topics) # Show the topics on the left side
|
119 |
-
with gr.Row():
|
120 |
-
with gr.Column():
|
121 |
-
question = gr.Textbox(label="Your question", placeholder="Type your question here...")
|
122 |
-
answer = gr.Textbox(label="GreenUnity Response", placeholder="GreenUnity will respond here...", interactive=False, lines=10)
|
123 |
-
submit_button = gr.Button("Submit")
|
124 |
-
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
125 |
|
126 |
## Your AI-driven assistant for all environment hazard-related queries. Created by Penny, Isabel, and Nevaeh of the 2024 Kode With Klossy Los Angeles Camp.
|
127 |
"""
|
|
|
110 |
welcome_message = """
|
111 |
# 🌳 Welcome to GreenUnity!
|
112 |
|
113 |
+

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
## Your AI-driven assistant for all environment hazard-related queries. Created by Penny, Isabel, and Nevaeh of the 2024 Kode With Klossy Los Angeles Camp.
|
116 |
"""
|