Skip to content

Commit

Permalink
changed tab order (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonqi146 authored May 1, 2024
1 parent 7bcf229 commit 7df27b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is a synced repository with a Huggingface Space for the Sotopia project [sp
## Getting Started

```bash
conda create -n sotopia-space python=3.11; conda activate sotopia-space
conda create -n sotopia-space python=3.10.13; conda activate sotopia-space
python -m pip install -r requirements.txt
```

Expand Down
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ def navigation_bar():
)
gr.Markdown(HEADER_MD, elem_classes="markdown-text")
with gr.Tabs(elem_classes="tab-buttons") as tabs:
with gr.TabItem("🏅 Leaderboard", elem_id="benchmark-tab-table", id=0):
benchmark.benchmark_table()
with gr.TabItem("💬 Chat", elem_id="chat-tab-interface", id=1):
with gr.Row():
chat_introduction()
with gr.Row():
chat_tab()
with gr.TabItem("🏅 Leaderboard", elem_id="benchmark-tab-table", id=0):
benchmark.benchmark_table()
with gr.Row():
with gr.Accordion("📙 Citation", open=False, elem_classes="accordion-label"):
gr.Textbox(
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ pydantic_core==2.18.1
referencing==0.34.0
torch==2.2.0
tqdm==4.66.2
transformers==4.40.0
transformers==4.40.0
spaces==0.27.0

0 comments on commit 7df27b3

Please sign in to comment.