Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove design #103

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/examples/basics/basic_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import panel as pn

pn.extension(design="material")
pn.extension()


def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/basics/basic_streaming_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import panel as pn

pn.extension(design="material")
pn.extension()


def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/components/component_chat_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from panel_chat_examples.components import ChatInput

pn.extension(design="material")
pn.extension()

chat_input = ChatInput(placeholder="Say something")

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/components/component_environment_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class enables you to manage variable values from a combination of custom values,

from panel_chat_examples import EnvironmentWidgetBase

pn.extension(design="material")
pn.extension()


class EnvironmentWidget(EnvironmentWidgetBase):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/features/feature_chained_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import panel as pn

pn.extension(design="material")
pn.extension()

ARM_BOT = "Arm Bot"
LEG_BOT = "Leg Bot"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/features/feature_delayed_placeholder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import panel as pn

pn.extension(design="material")
pn.extension()


async def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/features/feature_replace_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import panel as pn

pn.extension(design="material")
pn.extension()


async def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/features/feature_slim_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
import panel as pn

pn.extension(design="material")
pn.extension()


async def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/langchain/langchain_chat_pandas_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from panel_chat_examples import EnvironmentWidgetBase

pn.extension("perspective", design="material")
pn.extension("perspective")

PENGUINS_URL = (
"https://raw.githubusercontent.com/mwaskom/seaborn-data/master/penguins.csv"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/langchain/langchain_math_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from langchain.chains import LLMMathChain
from langchain.llms import OpenAI

pn.extension(design="material")
pn.extension()


async def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mistral/mistral_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import panel as pn
from ctransformers import AutoConfig, AutoModelForCausalLM, Config

pn.extension(design="material")
pn.extension()

llms = pn.state.cache["llms"] = pn.state.cache.get("llms", {})

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mistral/mistral_with_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import panel as pn
from ctransformers import AutoConfig, AutoModelForCausalLM, Config

pn.extension(design="material")
pn.extension()

SYSTEM_INSTRUCTIONS = "Do what the user requests."

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/openai/openai_async_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import openai
import panel as pn

pn.extension(design="material")
pn.extension()


async def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/openai/openai_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import openai
import panel as pn

pn.extension(design="material")
pn.extension()


async def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/openai/openai_image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import openai
import panel as pn

pn.extension(design="material")
pn.extension()


def callback(contents: str, user: str, instance: pn.chat.ChatInterface):
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/openai/openai_two_bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import openai
import panel as pn

pn.extension(design="material")
pn.extension()


async def callback(
Expand Down
2 changes: 1 addition & 1 deletion scripts/social_card_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
import panel as pn

pn.extension(design="material")
pn.extension()

WELCOME = """
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">
Expand Down