Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def list_private_models(profile: gr.OAuthProfile | None, oauth_token: gr.OAuthTo
|
|
27 |
return "Models:\n\n" + "\n - ".join(models) + "."
|
28 |
|
29 |
|
30 |
-
with gr.Blocks() as demo:
|
31 |
gr.Markdown(
|
32 |
"# ChatGPT-4o"
|
33 |
"\n\nThis is GPT-4o, you can use the text and image capabilities now. More capabilities like audio and video will be rolled out iteratively in the future. Stay tuned."
|
@@ -36,15 +36,15 @@ with gr.Blocks() as demo:
|
|
36 |
|
37 |
gr.ChatInterface(message,multimodal=True)
|
38 |
|
39 |
-
style = """
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
"""
|
47 |
-
gr.Markdown(style)
|
48 |
|
49 |
|
50 |
# ^ add a login button to the Space
|
|
|
27 |
return "Models:\n\n" + "\n - ".join(models) + "."
|
28 |
|
29 |
|
30 |
+
with gr.Blocks(fill_height=True) as demo:
|
31 |
gr.Markdown(
|
32 |
"# ChatGPT-4o"
|
33 |
"\n\nThis is GPT-4o, you can use the text and image capabilities now. More capabilities like audio and video will be rolled out iteratively in the future. Stay tuned."
|
|
|
36 |
|
37 |
gr.ChatInterface(message,multimodal=True)
|
38 |
|
39 |
+
# style = """
|
40 |
+
# <style>
|
41 |
+
# #chat-interface {
|
42 |
+
# height: 500px; /* 设置所需的高度,这里是 500 像素 */
|
43 |
+
# overflow-y: auto; /* 启用垂直滚动条 */
|
44 |
+
# }
|
45 |
+
# </style>
|
46 |
+
# """
|
47 |
+
# gr.Markdown(style)
|
48 |
|
49 |
|
50 |
# ^ add a login button to the Space
|