akhaliq HF Staff commited on
Commit
808abf4
·
verified ·
1 Parent(s): 1cac55f

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +4 -4
  2. 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
- show_copy_button=True,
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