Spaces:
Runtime error
Runtime error
Wonderplex
commited on
changed tab order (#72)
Browse files- README.md +1 -1
- app.py +2 -2
- requirements.txt +2 -1
README.md
CHANGED
@@ -15,7 +15,7 @@ This is a synced repository with a Huggingface Space for the Sotopia project [sp
|
|
15 |
## Getting Started
|
16 |
|
17 |
```bash
|
18 |
-
conda create -n sotopia-space python=3.
|
19 |
python -m pip install -r requirements.txt
|
20 |
```
|
21 |
|
|
|
15 |
## Getting Started
|
16 |
|
17 |
```bash
|
18 |
+
conda create -n sotopia-space python=3.10.13; conda activate sotopia-space
|
19 |
python -m pip install -r requirements.txt
|
20 |
```
|
21 |
|
app.py
CHANGED
@@ -49,13 +49,13 @@ with gr.Blocks(
|
|
49 |
)
|
50 |
gr.Markdown(HEADER_MD, elem_classes="markdown-text")
|
51 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
52 |
-
with gr.TabItem("π
Leaderboard", elem_id="benchmark-tab-table", id=0):
|
53 |
-
benchmark.benchmark_table()
|
54 |
with gr.TabItem("π¬ Chat", elem_id="chat-tab-interface", id=1):
|
55 |
with gr.Row():
|
56 |
chat_introduction()
|
57 |
with gr.Row():
|
58 |
chat_tab()
|
|
|
|
|
59 |
with gr.Row():
|
60 |
with gr.Accordion("π Citation", open=False, elem_classes="accordion-label"):
|
61 |
gr.Textbox(
|
|
|
49 |
)
|
50 |
gr.Markdown(HEADER_MD, elem_classes="markdown-text")
|
51 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
|
|
|
|
52 |
with gr.TabItem("π¬ Chat", elem_id="chat-tab-interface", id=1):
|
53 |
with gr.Row():
|
54 |
chat_introduction()
|
55 |
with gr.Row():
|
56 |
chat_tab()
|
57 |
+
with gr.TabItem("π
Leaderboard", elem_id="benchmark-tab-table", id=0):
|
58 |
+
benchmark.benchmark_table()
|
59 |
with gr.Row():
|
60 |
with gr.Accordion("π Citation", open=False, elem_classes="accordion-label"):
|
61 |
gr.Textbox(
|
requirements.txt
CHANGED
@@ -19,4 +19,5 @@ pydantic_core==2.18.1
|
|
19 |
referencing==0.34.0
|
20 |
torch==2.2.0
|
21 |
tqdm==4.66.2
|
22 |
-
transformers==4.40.0
|
|
|
|
19 |
referencing==0.34.0
|
20 |
torch==2.2.0
|
21 |
tqdm==4.66.2
|
22 |
+
transformers==4.40.0
|
23 |
+
spaces==0.27.0
|