Skip to content

Commit

Permalink
Merge pull request #103 from holoviz-topics/remove_design
Browse files Browse the repository at this point in the history
Remove design
  • Loading branch information
ahuang11 authored Nov 30, 2023
2 parents c342af2 + 25974de commit 6f92086
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
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

0 comments on commit 6f92086

Please sign in to comment.