Spaces:
Runtime error
Runtime error
Mathias Lux commited on
Commit ·
8614e1a
1
Parent(s): 2eb501f
added height in a different way.
Browse files
app.py
CHANGED
|
@@ -61,25 +61,6 @@ def respond(
|
|
| 61 |
response += token
|
| 62 |
yield response
|
| 63 |
|
| 64 |
-
# Custom CSS for bigger chat interface
|
| 65 |
-
custom_css = """
|
| 66 |
-
.contain {
|
| 67 |
-
max-width: 90% !important;
|
| 68 |
-
}
|
| 69 |
-
.message-wrap {
|
| 70 |
-
max-height: 700px !important;
|
| 71 |
-
}
|
| 72 |
-
.message {
|
| 73 |
-
font-size: 16px !important;
|
| 74 |
-
}
|
| 75 |
-
.message-body {
|
| 76 |
-
max-width: 90% !important;
|
| 77 |
-
}
|
| 78 |
-
.input-box textarea {
|
| 79 |
-
font-size: 16px !important;
|
| 80 |
-
}
|
| 81 |
-
"""
|
| 82 |
-
|
| 83 |
|
| 84 |
with gr.Blocks(title="AI Biographical Interview Assistant") as demo:
|
| 85 |
gr.Markdown("# AI Biographical Interview Assistant")
|
|
@@ -94,7 +75,8 @@ with gr.Blocks(title="AI Biographical Interview Assistant") as demo:
|
|
| 94 |
|
| 95 |
chatbot = gr.ChatInterface(
|
| 96 |
respond,
|
| 97 |
-
|
|
|
|
| 98 |
)
|
| 99 |
|
| 100 |
|
|
|
|
| 61 |
response += token
|
| 62 |
yield response
|
| 63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
with gr.Blocks(title="AI Biographical Interview Assistant") as demo:
|
| 66 |
gr.Markdown("# AI Biographical Interview Assistant")
|
|
|
|
| 75 |
|
| 76 |
chatbot = gr.ChatInterface(
|
| 77 |
respond,
|
| 78 |
+
title = "AI Biographical Interview Assistant",
|
| 79 |
+
height = 600,
|
| 80 |
)
|
| 81 |
|
| 82 |
|