Spaces:
Running
on
Zero
Running
on
Zero
Zenithwang
commited on
Commit
•
54c6383
1
Parent(s):
ceb635e
Update app.py
Browse files
app.py
CHANGED
@@ -94,15 +94,15 @@ prompt_examples = [
|
|
94 |
]
|
95 |
|
96 |
placeholder = """
|
97 |
-
<div>
|
98 |
-
<img src="https://raw.githubusercontent.com/
|
99 |
</div>
|
100 |
"""
|
101 |
|
102 |
|
103 |
-
chatbot = gr.Chatbot(label='OpenCoder', placeholder=
|
104 |
with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
|
105 |
|
106 |
-
gr.ChatInterface(predict, chatbot=chatbot, fill_height=True, examples=prompt_examples, css=
|
107 |
|
108 |
demo.launch() # Launching the web interface.
|
|
|
94 |
]
|
95 |
|
96 |
placeholder = """
|
97 |
+
<div style="opacity: 0.5;">
|
98 |
+
<img src="https://raw.githubusercontent.com/OpenCoder-llm/opencoder-llm.github.io/refs/heads/main/static/images/opencoder_icon.jpg" style="width:30%;">
|
99 |
</div>
|
100 |
"""
|
101 |
|
102 |
|
103 |
+
chatbot = gr.Chatbot(label='OpenCoder', placeholder=placeholder)
|
104 |
with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
|
105 |
|
106 |
+
gr.ChatInterface(predict, chatbot=chatbot, fill_height=True, examples=prompt_examples, css=css)
|
107 |
|
108 |
demo.launch() # Launching the web interface.
|