sophcheng commited on
Commit
a108bf7
·
verified ·
1 Parent(s): a957ca9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -142,8 +142,8 @@ topics = """
142
  - Examples of AI
143
  """
144
 
145
- def display_image():
146
- return "https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzdqMnkzcWpjbGhmM3hzcXp0MGpuaTF5djR4bjBxM3Biam5zbzNnMCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/GxMnTi3hV3qaIgbgQL/giphy.gif"
147
  #return "https://cdn-uploads.huggingface.co/production/uploads/6668622b72b61ba78fe7d4bb/PkWjNxvGm9MOqGkZdiT4e.png"
148
  theme = gr.themes.Monochrome(
149
  primary_hue="amber", #okay this did NOT work lmaoo
@@ -164,7 +164,7 @@ theme = gr.themes.Monochrome(
164
 
165
  # Setup the Gradio Blocks interface with custom layout components
166
  with gr.Blocks(theme=theme) as demo:
167
- gr.Image(display_image(), container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image")
168
  gr.Markdown(welcome_message) # Display the formatted welcome message
169
  with gr.Row():
170
  with gr.Column():
 
142
  - Examples of AI
143
  """
144
 
145
+ #def display_image():
146
+ #return "https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZzdqMnkzcWpjbGhmM3hzcXp0MGpuaTF5djR4bjBxM3Biam5zbzNnMCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/GxMnTi3hV3qaIgbgQL/giphy.gif"
147
  #return "https://cdn-uploads.huggingface.co/production/uploads/6668622b72b61ba78fe7d4bb/PkWjNxvGm9MOqGkZdiT4e.png"
148
  theme = gr.themes.Monochrome(
149
  primary_hue="amber", #okay this did NOT work lmaoo
 
164
 
165
  # Setup the Gradio Blocks interface with custom layout components
166
  with gr.Blocks(theme=theme) as demo:
167
+ gr.Image("ally.png", container = False, show_share_button = False, show_download_button = False, label="output", show_label=True, elem_id="output_image")
168
  gr.Markdown(welcome_message) # Display the formatted welcome message
169
  with gr.Row():
170
  with gr.Column():