Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ def time_travel_assistant(api_key, query):
|
|
| 63 |
output = advisor.agent_loop(query)
|
| 64 |
return output
|
| 65 |
except Exception as e:
|
| 66 |
-
return f"π°οΈπ₯ Time Machine Malfunction!
|
| 67 |
|
| 68 |
with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as app:
|
| 69 |
with gr.Column(elem_id="tt-header"):
|
|
@@ -71,8 +71,6 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as app:
|
|
| 71 |
# π°οΈβ¨ Time Traveler's Style Guide β¨π
|
| 72 |
*"Fashionably Anachronistic Since 3000 BCE"*
|
| 73 |
""")
|
| 74 |
-
gr.HTML("""<p>Where should your temporal adventures take you?<br>
|
| 75 |
-
Examples: 'Victorian London', '1960s New York', or 'Ming Dynasty Market'</p>""")
|
| 76 |
|
| 77 |
with gr.Row(variant="panel", elem_classes="input-section"):
|
| 78 |
api_key = gr.Textbox(
|
|
|
|
| 63 |
output = advisor.agent_loop(query)
|
| 64 |
return output
|
| 65 |
except Exception as e:
|
| 66 |
+
return f"π°οΈπ₯ Time Machine Malfunction! π₯π°οΈ"
|
| 67 |
|
| 68 |
with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as app:
|
| 69 |
with gr.Column(elem_id="tt-header"):
|
|
|
|
| 71 |
# π°οΈβ¨ Time Traveler's Style Guide β¨π
|
| 72 |
*"Fashionably Anachronistic Since 3000 BCE"*
|
| 73 |
""")
|
|
|
|
|
|
|
| 74 |
|
| 75 |
with gr.Row(variant="panel", elem_classes="input-section"):
|
| 76 |
api_key = gr.Textbox(
|