Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🌌
|
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.15.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
app.py
CHANGED
|
@@ -137,7 +137,7 @@ with gr.Blocks(title="Wheeler Chat", fill_height=True) as demo:
|
|
| 137 |
gr.Markdown(DESC)
|
| 138 |
with gr.Row():
|
| 139 |
with gr.Column(scale=1):
|
| 140 |
-
chatbot = gr.Chatbot(
|
| 141 |
msg = gr.Textbox(placeholder="Ask Wheeler-63M anything (it will hallucinate)…",
|
| 142 |
label="Message")
|
| 143 |
with gr.Accordion("settings", open=False):
|
|
@@ -158,4 +158,4 @@ with gr.Blocks(title="Wheeler Chat", fill_height=True) as demo:
|
|
| 158 |
clear.click(lambda: ([], "", ""), None, [chatbot, viz, msg])
|
| 159 |
|
| 160 |
if __name__ == "__main__":
|
| 161 |
-
demo.launch()
|
|
|
|
| 137 |
gr.Markdown(DESC)
|
| 138 |
with gr.Row():
|
| 139 |
with gr.Column(scale=1):
|
| 140 |
+
chatbot = gr.Chatbot(height=380, label="Wheeler-63M") # gradio 6: messages format is default
|
| 141 |
msg = gr.Textbox(placeholder="Ask Wheeler-63M anything (it will hallucinate)…",
|
| 142 |
label="Message")
|
| 143 |
with gr.Accordion("settings", open=False):
|
|
|
|
| 158 |
clear.click(lambda: ([], "", ""), None, [chatbot, viz, msg])
|
| 159 |
|
| 160 |
if __name__ == "__main__":
|
| 161 |
+
demo.queue().launch()
|