Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -95,9 +95,10 @@ def sample_word_and_display_info():
|
|
95 |
return img, f"No information found for '{word}'"
|
96 |
|
97 |
with gr.Blocks() as demo:
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
101 |
|
102 |
demo.launch()
|
103 |
|
|
|
95 |
return img, f"No information found for '{word}'"
|
96 |
|
97 |
with gr.Blocks() as demo:
|
98 |
+
image, text = sample_word_and_display_info()
|
99 |
+
print(image, text)
|
100 |
+
gr.Image(image)
|
101 |
+
gr.Markdown(text)
|
102 |
|
103 |
demo.launch()
|
104 |
|