Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def respond(message, history):
|
|
| 36 |
except Exception as e:
|
| 37 |
yield f"An error occurred: {e}"
|
| 38 |
|
| 39 |
-
header_image_path = "https://cdn-uploads.huggingface.co/production/uploads/6540a02d1389943fef4d2640/
|
| 40 |
|
| 41 |
|
| 42 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
@@ -46,14 +46,14 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 46 |
label="Chatbot Header",
|
| 47 |
show_label=False,
|
| 48 |
interactive=False,
|
| 49 |
-
height=
|
| 50 |
elem_id="chatbot-logo"
|
| 51 |
)
|
| 52 |
|
| 53 |
gr.ChatInterface(
|
| 54 |
respond,
|
| 55 |
chatbot=gr.Chatbot(
|
| 56 |
-
height=
|
| 57 |
)
|
| 58 |
)
|
| 59 |
|
|
|
|
| 36 |
except Exception as e:
|
| 37 |
yield f"An error occurred: {e}"
|
| 38 |
|
| 39 |
+
header_image_path = "https://cdn-uploads.huggingface.co/production/uploads/6540a02d1389943fef4d2640/Cb-cHbgPqap2bOpRnSNRe.gif"
|
| 40 |
|
| 41 |
|
| 42 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
|
|
| 46 |
label="Chatbot Header",
|
| 47 |
show_label=False,
|
| 48 |
interactive=False,
|
| 49 |
+
height=200,
|
| 50 |
elem_id="chatbot-logo"
|
| 51 |
)
|
| 52 |
|
| 53 |
gr.ChatInterface(
|
| 54 |
respond,
|
| 55 |
chatbot=gr.Chatbot(
|
| 56 |
+
height=600
|
| 57 |
)
|
| 58 |
)
|
| 59 |
|