Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,10 +16,7 @@ path_to_la_image = "output/la.png"
|
|
16 |
|
17 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
18 |
|
19 |
-
|
20 |
-
def display_title():
|
21 |
-
return "https://huggingface.co/spaces/klossygal/KlossyGal/resolve/main/Screenshot%202024-07-31%20at%202.35.00%E2%80%AFPM.png"
|
22 |
-
gr.Image(display_title(), show_label = False, show_share_button = False, show_download_button = False)
|
23 |
|
24 |
system_message = "You are an astronomy chatbot named Starfinder specialized in providing information on stargazing, astronomical events, and outer space."
|
25 |
# Initial system message to set the behavior of the assistant
|
@@ -155,6 +152,9 @@ STARS = gr.themes.Base().set(
|
|
155 |
|
156 |
# Setup the Gradio Blocks interface with custom layout components
|
157 |
with gr.Blocks(theme=STARS) as demo:
|
|
|
|
|
|
|
158 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
159 |
with gr.Row():
|
160 |
with gr.Column():
|
|
|
16 |
|
17 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
18 |
|
19 |
+
|
|
|
|
|
|
|
20 |
|
21 |
system_message = "You are an astronomy chatbot named Starfinder specialized in providing information on stargazing, astronomical events, and outer space."
|
22 |
# Initial system message to set the behavior of the assistant
|
|
|
152 |
|
153 |
# Setup the Gradio Blocks interface with custom layout components
|
154 |
with gr.Blocks(theme=STARS) as demo:
|
155 |
+
def display_title():
|
156 |
+
return "https://huggingface.co/spaces/klossygal/KlossyGal/resolve/main/Screenshot%202024-07-31%20at%202.35.00%E2%80%AFPM.png"
|
157 |
+
gr.Image(display_title(), show_label = False, show_share_button = False, show_download_button = False)
|
158 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
159 |
with gr.Row():
|
160 |
with gr.Column():
|