Spaces:
Running
Running
Louis-François Bouchard
commited on
Zoom remove (#25)
Browse files* Added email logger
* added new prompt to buster
* add reset text box on click
* removed zoom flex
app.py
CHANGED
|
@@ -154,14 +154,14 @@ def get_answer(history, sources: Optional[list[str]] = None):
|
|
| 154 |
yield history, completion
|
| 155 |
|
| 156 |
|
| 157 |
-
CSS = """
|
| 158 |
-
.contain { display: flex; flex-direction: column; }
|
| 159 |
-
.gradio-container { height: 100vh !important; }
|
| 160 |
-
#component-0 { height: 100%; }
|
| 161 |
-
#chatbot { flex-grow: 1; overflow: auto;}
|
| 162 |
-
"""
|
| 163 |
theme = gr.themes.Base()
|
| 164 |
-
demo = gr.Blocks(
|
| 165 |
with demo:
|
| 166 |
with gr.Row():
|
| 167 |
gr.Markdown(
|
|
|
|
| 154 |
yield history, completion
|
| 155 |
|
| 156 |
|
| 157 |
+
# CSS = """
|
| 158 |
+
# .contain { display: flex; flex-direction: column; }
|
| 159 |
+
# .gradio-container { height: 100vh !important; }
|
| 160 |
+
# #component-0 { height: 100%; }
|
| 161 |
+
# #chatbot { flex-grow: 1; overflow: auto;}
|
| 162 |
+
# """
|
| 163 |
theme = gr.themes.Base()
|
| 164 |
+
demo = gr.Blocks(theme=theme)
|
| 165 |
with demo:
|
| 166 |
with gr.Row():
|
| 167 |
gr.Markdown(
|