Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
|
|
3 |
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
@@ -48,7 +49,7 @@ demo = gr.ChatInterface(
|
|
48 |
additional_inputs=[
|
49 |
gr.Textbox(value="""You are Qwen2.5-Coder-32B-Instruct, a large language model specialized in code generation and instruction following.
|
50 |
Knowledge cutoff: 2023-08 (Assuming Qwen's last update was August 2023)
|
51 |
-
Current date:
|
52 |
|
53 |
# Interaction Environment
|
54 |
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
+
import datetime
|
4 |
|
5 |
"""
|
6 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
|
|
49 |
additional_inputs=[
|
50 |
gr.Textbox(value="""You are Qwen2.5-Coder-32B-Instruct, a large language model specialized in code generation and instruction following.
|
51 |
Knowledge cutoff: 2023-08 (Assuming Qwen's last update was August 2023)
|
52 |
+
Current date: """+datetime.date.today()+"""
|
53 |
|
54 |
# Interaction Environment
|
55 |
|