Skip to content

Commit

Permalink
change studio to gradio (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
qbc2016 authored Jun 20, 2024
1 parent b8dfcb3 commit e451d86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/conversation_with_RAG_agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ However, you are welcome to replace the Dashscope language and embedding model w
```


* **AS studio:** If you want to have more organized, clean UI, you can also run with our `as_studio`.
* **AS gradio:** If you want to have more organized, clean UI, you can also run with our `as_gradio`.
```bash
as_studio ./rag_example.py
as_gradio ./rag_example.py
```

### Agents in the example
Expand Down
2 changes: 1 addition & 1 deletion examples/conversation_with_mentions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ These models are tested in this example. For other models, some modifications ma

Fill the next cell to meet the following requirements:
- Set your `api_key` in the `configs/model_configs.json` file
- Optional: Launch agentscope studio with `as_studio main.py`
- Optional: Launch agentscope gradio with `as_gradio main.py`

## How to Use

Expand Down
2 changes: 1 addition & 1 deletion src/agentscope/studio/static/js/workstation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ function showExportPyPopup() {
'<p>Save as main.py<br>' +
'Then run the following command in your terminal:<br>' +
'<div class="code-snippet">python main.py</div><br>' +
'or <div class="code-snippet">as_studio main.py</div></p>' +
'or <div class="code-snippet">as_gradio main.py</div></p>' +
'<pre class="line-numbers"><code class="language-py" id="export-data">' +
data.py_code +
'</code></pre>',
Expand Down

0 comments on commit e451d86

Please sign in to comment.