Spaces:
Runtime error
Runtime error
Commit ·
8ab45c8
1
Parent(s): 991a622
added Fashion Advisor
Browse files- app.py +3 -0
- fashion.py +0 -1
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import gradio as gr
|
|
| 2 |
import os
|
| 3 |
from travel import ui as travel_ui
|
| 4 |
from event_ui import ui as events_ui
|
|
|
|
| 5 |
|
| 6 |
with gr.Blocks(
|
| 7 |
title='Planner Demos',
|
|
@@ -29,6 +30,8 @@ with gr.Blocks(
|
|
| 29 |
travel_ui(api_key, gemini_model_name)
|
| 30 |
with gr.Tab(label='Beauty Advisor'):
|
| 31 |
events_ui(api_key, gemini_model_name)
|
|
|
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
demo.launch(debug=True)
|
|
|
|
| 2 |
import os
|
| 3 |
from travel import ui as travel_ui
|
| 4 |
from event_ui import ui as events_ui
|
| 5 |
+
from fashion import ui as fashion_ui
|
| 6 |
|
| 7 |
with gr.Blocks(
|
| 8 |
title='Planner Demos',
|
|
|
|
| 30 |
travel_ui(api_key, gemini_model_name)
|
| 31 |
with gr.Tab(label='Beauty Advisor'):
|
| 32 |
events_ui(api_key, gemini_model_name)
|
| 33 |
+
with gr.Tab(label='Fashion Advisor'):
|
| 34 |
+
fashion_ui(api_key, gemini_model_name)
|
| 35 |
|
| 36 |
|
| 37 |
demo.launch(debug=True)
|
fashion.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
import json
|
| 2 |
-
from chat import Chat
|
| 3 |
import gradio as gr
|
| 4 |
import numpy as np
|
| 5 |
import pandas as pd
|
|
|
|
| 1 |
import json
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
import numpy as np
|
| 4 |
import pandas as pd
|