Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +4 -4
- requirements.txt +0 -1
app.py
CHANGED
|
@@ -266,8 +266,6 @@ input[type="text"]:focus, textarea:focus {
|
|
| 266 |
|
| 267 |
with gr.Blocks(
|
| 268 |
title="AI Assistant",
|
| 269 |
-
theme=gr.themes.Soft(),
|
| 270 |
-
css=APPLE_CSS,
|
| 271 |
elem_classes=["main-container"]
|
| 272 |
) as demo:
|
| 273 |
# Apple-style header
|
|
@@ -287,7 +285,7 @@ with gr.Blocks(
|
|
| 287 |
chatbot = gr.Chatbot(
|
| 288 |
label="",
|
| 289 |
height=550,
|
| 290 |
-
|
| 291 |
placeholder="Start a conversation...",
|
| 292 |
avatar_images=(
|
| 293 |
None,
|
|
@@ -431,8 +429,10 @@ with gr.Blocks(
|
|
| 431 |
|
| 432 |
if __name__ == "__main__":
|
| 433 |
demo.launch(
|
|
|
|
|
|
|
| 434 |
share=False,
|
| 435 |
show_error=True,
|
| 436 |
quiet=False,
|
| 437 |
show_tips=False
|
| 438 |
-
)
|
|
|
|
| 266 |
|
| 267 |
with gr.Blocks(
|
| 268 |
title="AI Assistant",
|
|
|
|
|
|
|
| 269 |
elem_classes=["main-container"]
|
| 270 |
) as demo:
|
| 271 |
# Apple-style header
|
|
|
|
| 285 |
chatbot = gr.Chatbot(
|
| 286 |
label="",
|
| 287 |
height=550,
|
| 288 |
+
buttons=["copy"],
|
| 289 |
placeholder="Start a conversation...",
|
| 290 |
avatar_images=(
|
| 291 |
None,
|
|
|
|
| 429 |
|
| 430 |
if __name__ == "__main__":
|
| 431 |
demo.launch(
|
| 432 |
+
theme=gr.themes.Soft(),
|
| 433 |
+
css=APPLE_CSS,
|
| 434 |
share=False,
|
| 435 |
show_error=True,
|
| 436 |
quiet=False,
|
| 437 |
show_tips=False
|
| 438 |
+
)
|
requirements.txt
CHANGED
|
@@ -4,7 +4,6 @@ Pillow
|
|
| 4 |
numpy
|
| 5 |
pandas
|
| 6 |
matplotlib
|
| 7 |
-
plotly
|
| 8 |
fastapi
|
| 9 |
uvicorn
|
| 10 |
pydantic
|
|
|
|
| 4 |
numpy
|
| 5 |
pandas
|
| 6 |
matplotlib
|
|
|
|
| 7 |
fastapi
|
| 8 |
uvicorn
|
| 9 |
pydantic
|