Spaces:
Sleeping
Sleeping
adding colors i hope
Browse files1 unmodified line2345671 unmodified lineimport randomfrom huggingface_hub import InferenceClientclient = InferenceClient ("HuggingFaceH4/zephyr-7b-beta") #change the LLMdef respond(message, history):1 unmodified line2345678910111213141516171819202122232425262728291 unmodified lineimport randomfrom huggingface_hub import InferenceClientcustom_css = """body {background-color: #1e1e1e; /* dark background */color: white; /* white text */}.gr-button {background-color: #007acc;color: white;}.gr-textbox {background-color: #333;color: #fff;}"""with gr.Blocks(css=custom_css) as demo:gr.Markdown("## 👋 Welcome to the Custom Styled App")name = gr.Textbox(label="Enter your name")greet_btn = gr.Button("Greet Me")output = gr.Textbox(label="Output")greet_btn.click(fn=greet, inputs=name, outputs=output)client = InferenceClient ("HuggingFaceH4/zephyr-7b-beta") #change the LLMdef respond(message, history):
app.py+22