Spaces:
Running
on
Zero
Running
on
Zero
Update src/app.py
Browse files- src/app.py +13 -4
src/app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
"""
|
2 |
|
3 |
from collections.abc import Iterator
|
4 |
from datetime import datetime
|
@@ -300,15 +300,24 @@ with gr.Blocks(fill_height=True, css_paths=css_file_path, head_paths=head_file_p
|
|
300 |
|
301 |
gr.Examples(
|
302 |
examples=[
|
303 |
-
["https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/
|
304 |
-
["Explain quantum computing to a beginner."
|
305 |
-
["What is OpenShift?",
|
|
|
|
|
|
|
|
|
306 |
],
|
307 |
inputs=[image_input, text_input],
|
308 |
example_labels=[
|
309 |
"Vision Example: What is in this image?",
|
310 |
"Explain quantum computing",
|
311 |
"What is OpenShift?"
|
|
|
|
|
|
|
|
|
|
|
312 |
],
|
313 |
cache_examples=False,
|
314 |
)
|
|
|
1 |
+
"""Developed by Ruslan Magana Vsevolodovna"""
|
2 |
|
3 |
from collections.abc import Iterator
|
4 |
from datetime import datetime
|
|
|
300 |
|
301 |
gr.Examples(
|
302 |
examples=[
|
303 |
+
["https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/cheetah1.jpg", "What is in this image?"],
|
304 |
+
[None,"Explain quantum computing to a beginner."],
|
305 |
+
[None,"What is OpenShift?",
|
306 |
+
[None,"Importance of low latency inference"],
|
307 |
+
[None,"Boosting productivity habits"],
|
308 |
+
[None,"Explain and document your code"],
|
309 |
+
[None,"Generate Java Code"]
|
310 |
],
|
311 |
inputs=[image_input, text_input],
|
312 |
example_labels=[
|
313 |
"Vision Example: What is in this image?",
|
314 |
"Explain quantum computing",
|
315 |
"What is OpenShift?"
|
316 |
+
"Importance of low latency inference",
|
317 |
+
"Boosting productivity habits",
|
318 |
+
"Explain and document your code",
|
319 |
+
"Generate Java Code"
|
320 |
+
|
321 |
],
|
322 |
cache_examples=False,
|
323 |
)
|