Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
71 |
name=gemini_model.value,
|
72 |
src=gemini_gradio.registry,
|
73 |
fill_height=True,
|
74 |
-
chatbot=gr.Chatbot(height=
|
75 |
)
|
76 |
|
77 |
def update_gemini_model(new_model):
|
@@ -79,7 +79,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
79 |
name=new_model,
|
80 |
src=gemini_gradio.registry,
|
81 |
fill_height=True,
|
82 |
-
chatbot=gr.Chatbot(height=
|
83 |
)
|
84 |
|
85 |
gemini_model.change(
|
|
|
71 |
name=gemini_model.value,
|
72 |
src=gemini_gradio.registry,
|
73 |
fill_height=True,
|
74 |
+
chatbot=gr.Chatbot(height=300, type="messages")
|
75 |
)
|
76 |
|
77 |
def update_gemini_model(new_model):
|
|
|
79 |
name=new_model,
|
80 |
src=gemini_gradio.registry,
|
81 |
fill_height=True,
|
82 |
+
chatbot=gr.Chatbot(height=300, type="messages"))
|
83 |
)
|
84 |
|
85 |
gemini_model.change(
|