Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change studio to gradio #295

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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