Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- README.md +1 -1
- requirements.txt +1 -1
- run.py +2 -2
README.md
CHANGED
@@ -5,7 +5,7 @@ emoji: 🔥
|
|
5 |
colorFrom: indigo
|
6 |
colorTo: indigo
|
7 |
sdk: gradio
|
8 |
-
sdk_version: 3.
|
9 |
app_file: run.py
|
10 |
pinned: false
|
11 |
---
|
|
|
5 |
colorFrom: indigo
|
6 |
colorTo: indigo
|
7 |
sdk: gradio
|
8 |
+
sdk_version: 3.40.1
|
9 |
app_file: run.py
|
10 |
pinned: false
|
11 |
---
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
|
2 |
-
https://gradio-main-build.s3.amazonaws.com/
|
|
|
1 |
|
2 |
+
https://gradio-main-build.s3.amazonaws.com/fa1132f83f9b0e6e45a793953c90508550395381/gradio-3.40.1-py3-none-any.whl
|
run.py
CHANGED
@@ -24,14 +24,14 @@ def bot(history):
|
|
24 |
|
25 |
|
26 |
with gr.Blocks() as demo:
|
27 |
-
chatbot = gr.Chatbot([], elem_id="chatbot"
|
28 |
|
29 |
with gr.Row():
|
30 |
with gr.Column(scale=0.85):
|
31 |
txt = gr.Textbox(
|
32 |
show_label=False,
|
33 |
placeholder="Enter text and press enter, or upload an image",
|
34 |
-
|
35 |
with gr.Column(scale=0.15, min_width=0):
|
36 |
btn = gr.UploadButton("📁", file_types=["image", "video", "audio"])
|
37 |
|
|
|
24 |
|
25 |
|
26 |
with gr.Blocks() as demo:
|
27 |
+
chatbot = gr.Chatbot([], elem_id="chatbot", height=750)
|
28 |
|
29 |
with gr.Row():
|
30 |
with gr.Column(scale=0.85):
|
31 |
txt = gr.Textbox(
|
32 |
show_label=False,
|
33 |
placeholder="Enter text and press enter, or upload an image",
|
34 |
+
container=False)
|
35 |
with gr.Column(scale=0.15, min_width=0):
|
36 |
btn = gr.UploadButton("📁", file_types=["image", "video", "audio"])
|
37 |
|