yuxwu commited on
Commit
a93f9a9
1 Parent(s): f0f7a27

Revert "Attempt fix"

Browse files

This reverts commit f0f7a27fb2aeaac57a0f973c47d468fb1fa3e791.

Files changed (3) hide show
  1. README.md +13 -0
  2. app.py +2 -1
  3. requirements.txt +1 -1
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Chatarena Demo
3
+ emoji: 👀
4
+ colorFrom: green
5
+ colorTo: yellow
6
+ sdk: gradio
7
+ sdk_version: 3.23.0
8
+ app_file: app.py
9
+ pinned: false
10
+ license: apache-2.0
11
+ ---
12
+
13
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -94,7 +94,8 @@ with gr.Blocks(css=css) as demo:
94
  with gr.Column(elem_id="col-container"):
95
  gr.Markdown("""# 🏟 ChatArena️<br>
96
  Prompting multiple AI agents to play games in a language-driven environment.
97
- **[Project Homepage](https://github.com/chatarena/chatarena)**""", elem_id="header")
 
98
 
99
  with gr.Row():
100
  env_selector = gr.Dropdown(choices=list(ENV_REGISTRY.keys()), value=DEFAULT_ENV, interactive=True,
 
94
  with gr.Column(elem_id="col-container"):
95
  gr.Markdown("""# 🏟 ChatArena️<br>
96
  Prompting multiple AI agents to play games in a language-driven environment.
97
+ **[Project Homepage](https://github.com/chatarena/chatarena)**
98
+ ### Due to the high volume of requests, our OpenAI API Token exceeded the billing limit. We are approaching OpenAI to get the research access at the moment. We encourage users to run the demo locally following [this instruction](https://github.com/chatarena/chatarena#launch-the-demo-locally).""", elem_id="header")
99
 
100
  with gr.Row():
101
  env_selector = gr.Dropdown(choices=list(ENV_REGISTRY.keys()), value=DEFAULT_ENV, interactive=True,
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  cohere>=4.1.0
2
  openai>=0.27.2
3
- gradio>=3.20.0
4
  transformers>=4.0
5
  tenacity==8.2.2
6
  rich>=13.3.1
 
1
  cohere>=4.1.0
2
  openai>=0.27.2
3
+ gradio==3.20.0
4
  transformers>=4.0
5
  tenacity==8.2.2
6
  rich>=13.3.1