Spaces:
Sleeping
Sleeping
Palbha Kulkarni (Nazwale)
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -70,15 +70,15 @@ def get_response(message, chat_history, model_choice, api_key):
|
|
70 |
print("Chat",chat_history)
|
71 |
return reply,chat_history
|
72 |
# Gradio app
|
73 |
-
with gr.Blocks(
|
74 |
with gr.Row():
|
75 |
with gr.Column(scale=1):
|
76 |
gr.Markdown("## ⚙️ Model Configuration")
|
77 |
|
78 |
model_choice = gr.Dropdown(
|
79 |
label="Choose Model",
|
80 |
-
choices=["OpenAI GPT-4",
|
81 |
-
value="
|
82 |
)
|
83 |
|
84 |
api_key_input = gr.Textbox(
|
|
|
70 |
print("Chat",chat_history)
|
71 |
return reply,chat_history
|
72 |
# Gradio app
|
73 |
+
with gr.Blocks() as app:
|
74 |
with gr.Row():
|
75 |
with gr.Column(scale=1):
|
76 |
gr.Markdown("## ⚙️ Model Configuration")
|
77 |
|
78 |
model_choice = gr.Dropdown(
|
79 |
label="Choose Model",
|
80 |
+
choices=["OpenAI GPT-4", "Gemini 1.5Flash", "Gemini 2.0Flash", "Together AI"],
|
81 |
+
value= "Gemini 1.5Flash"
|
82 |
)
|
83 |
|
84 |
api_key_input = gr.Textbox(
|