Skip to content

Commit

Permalink
chore: Upgraded to Gradio 5 and temporarily fixed breaking changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
anirbanbasu committed Oct 11, 2024
1 parent 3fb623e commit 66ab5a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
22 changes: 11 additions & 11 deletions requirements-frozen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ aiohappyeyeballs==2.4.0
aiohttp==3.10.5
aiosignal==1.3.1
annotated-types==0.7.0
anthropic==0.28.1
anthropic==0.36.0
anyio==4.4.0
arxiv==2.1.3
asttokens==2.4.1
Expand Down Expand Up @@ -38,15 +38,15 @@ frozendict==2.4.4
frozenlist==1.4.1
fsspec==2024.9.0
google-auth==2.34.0
gradio==4.44.0
gradio_client==1.3.0
gradio==5.0.1
gradio_client==1.4.0
greenlet==3.1.0
h11==0.14.0
html5lib==1.1
httpcore==1.0.5
httpx==0.27.2
httpx-sse==0.4.0
huggingface-hub==0.25.0
huggingface-hub==0.25.2
icecream==2.1.3
identify==2.6.1
idna==3.10
Expand All @@ -61,18 +61,18 @@ joblib==1.4.2
jsonpickle==3.3.0
kiwisolver==1.4.7
llama-cloud==0.0.17
llama-index==0.11.14
llama-index==0.11.17
llama-index-agent-openai==0.3.4
llama-index-cli==0.3.1
llama-index-core==0.11.14
llama-index-core==0.11.17
llama-index-embeddings-openai==0.2.5
llama-index-indices-managed-llama-cloud==0.3.1
llama-index-legacy==0.9.48.post3
llama-index-llms-anthropic==0.3.1
llama-index-llms-cohere==0.3.0
llama-index-llms-anthropic==0.3.5
llama-index-llms-cohere==0.3.1
llama-index-llms-groq==0.2.0
llama-index-llms-ollama==0.3.3
llama-index-llms-openai==0.2.9
llama-index-llms-ollama==0.3.4
llama-index-llms-openai==0.2.13
llama-index-llms-openai-like==0.2.0
llama-index-multi-modal-llms-openai==0.2.1
llama-index-packs-agents-lats==0.2.0
Expand Down Expand Up @@ -115,7 +115,7 @@ pexpect==4.9.0
pillow==10.4.0
platformdirs==4.3.6
pluggy==1.5.0
pre-commit==3.8.0
pre_commit==4.0.1
primp==0.6.2
prompt_toolkit==3.0.47
ptyprocess==0.7.0
Expand Down
5 changes: 3 additions & 2 deletions src/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class GradioApp:
}}
#{CSS_CLASS_DIV_AGENT_RESPONSE_CONTAINER}::before {{
content: "{LABEL_AGENT_RESPONSE}";
content: "{EMPTY_STRING}";
position: absolute;
top: -10px;
left: 20px;
Expand Down Expand Up @@ -437,7 +437,7 @@ def create_component_settings(self) -> gr.Group:
line_breaks=True,
datatype="markdown",
column_widths=[1, 2],
height=300,
# height=300,
)

with gr.Accordion(label="Workflow information", open=False):
Expand Down Expand Up @@ -749,6 +749,7 @@ def create_app_ui(self):
btn_theme_toggle = gr.Button(
GradioApp.LABEL_THEME_TOGGLE,
size="sm",
visible=False,
)
btn_sidebar_toggle = gr.Button(
GradioApp.LABEL_SHOW_SIDEBAR,
Expand Down

0 comments on commit 66ab5a8

Please sign in to comment.