Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,19 @@ import gradio as gr
|
|
| 6 |
import random
|
| 7 |
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
# Making requests to the model to generate responses:
|
| 10 |
client = InferenceClient('Qwen/Qwen2.5-72B-Instruct')
|
| 11 |
|
|
|
|
| 6 |
import random
|
| 7 |
|
| 8 |
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
with gr.Blocks() as chatbot:
|
| 12 |
+
gr.Image(
|
| 13 |
+
value="icecream.jpg",
|
| 14 |
+
show_label=False,
|
| 15 |
+
show_share_button = False,
|
| 16 |
+
show_download_button = False)
|
| 17 |
+
gr.ChatInterface(respond, type="messages")
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
# Making requests to the model to generate responses:
|
| 23 |
client = InferenceClient('Qwen/Qwen2.5-72B-Instruct')
|
| 24 |
|