Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,8 @@ from smolagents import OpenAIServerModel
|
|
| 9 |
import os
|
| 10 |
from huggingface_hub import login
|
| 11 |
|
|
|
|
|
|
|
| 12 |
openai_key = os.environ.get("OPENAI_API_KEY")
|
| 13 |
hf_token = os.environ.get("HF_TOKEN")
|
| 14 |
|
|
@@ -181,6 +183,8 @@ def create_gradio_interface():
|
|
| 181 |
Explore how everyday objects evolved over time. Enter an object name like "phone", "car", or "bicycle"
|
| 182 |
and see its past, present, and future visualized with AI!
|
| 183 |
""")
|
|
|
|
|
|
|
| 184 |
|
| 185 |
default_images = [
|
| 186 |
"car_past2.png",
|
|
|
|
| 9 |
import os
|
| 10 |
from huggingface_hub import login
|
| 11 |
|
| 12 |
+
https://colab.research.google.com/drive/1aKBJWkRBKhW8VFEu8p1zaxJr9VDzPaRz?usp=sharing
|
| 13 |
+
|
| 14 |
openai_key = os.environ.get("OPENAI_API_KEY")
|
| 15 |
hf_token = os.environ.get("HF_TOKEN")
|
| 16 |
|
|
|
|
| 183 |
Explore how everyday objects evolved over time. Enter an object name like "phone", "car", or "bicycle"
|
| 184 |
and see its past, present, and future visualized with AI!
|
| 185 |
""")
|
| 186 |
+
gr.Markdown("<span style='color: red;'>Note: Occasionally, we may encounter issues connecting to the API. If that happens, feel free run it in this<a href='https://colab.research.google.com/drive/1aKBJWkRBKhW8VFEu8p1zaxJr9VDzPaRz?usp=sharing' target='_blank'> link</a>.</span>")
|
| 187 |
+
|
| 188 |
|
| 189 |
default_images = [
|
| 190 |
"car_past2.png",
|