Loading video...

Video Failed to Load

Go Home

GLM 4.6 in Claude Code to build a python app Took me around 3 mins to make this python app with a Streamlit web ui and llamacpp python bindings The app lets you run an inference via a simple chat interface plus configurable params 👇 (video 4x speed)

21,834 views • 1 year ago •via X (Twitter)

24 Comments

Melvin Vivas's profile picture
Melvin Vivas1 year ago

you can get any GLM coding plan using my link starts at $3/month

Hank Yeomans's profile picture
Hank Yeomans1 year ago

@streamlit Is there a reason we’d use GLM through CC interface vs let’s say, opencode?

Melvin Vivas's profile picture
Melvin Vivas1 year ago

@streamlit it’s not the same harness. if opencode works for you then it’s fine

Hank Yeomans's profile picture
Hank Yeomans1 year ago

@streamlit No I’m asking because I dont know, since you might have tried already. Not because I think one is better.

Melvin Vivas's profile picture
Melvin Vivas1 year ago

@streamlit i feel claude code is better and it’s free anyway. only diff is you can switch models in opencode

jazzzz's profile picture
jazzzz1 year ago

@streamlit I found it worked better on OpenCode

JDizzy of course's profile picture
JDizzy of course1 year ago

@streamlit I don’t get this. Is @cerebras using a different variation of the model

Melvin Vivas's profile picture
Melvin Vivas1 year ago

@streamlit @cerebras not sure what they did in cerebras but it seems different. some say it’s fast but not as good

JDizzy of course's profile picture
JDizzy of course1 year ago

@streamlit @cerebras Interesting Where are you subscribing to for the model? I’ll try that

Aditya shinde's profile picture
Aditya shinde1 year ago

@streamlit Currently glm4.6 doesn’t support input images. Is there any way to pass image so that i can pass ui mocks or sketches for reference?

Melvin Vivas's profile picture
Melvin Vivas1 year ago

@streamlit mcp

Aditya shinde's profile picture
Aditya shinde1 year ago

@streamlit if i use Vision MCP, first input will go to glm 4.5v then it goes to glm 4.6 or will i get the direct code from glm 4.5v itself?

Hassan's profile picture
Hassan1 year ago

@streamlit how do you calculate tokens used? can you give statusline script

Melvin Vivas's profile picture
Melvin Vivas1 year ago

@streamlit you dont need it when you’re using the glm coding plan

gootecks's profile picture
gootecks1 year ago

@streamlit have you tried minimax m2 in claude code?

Melvin Vivas's profile picture
Melvin Vivas1 year ago

@streamlit no i dont have an account. $10 is just high for me to just test it and I haven’t seen examples of it just people talking about it in X

Dhruv's profile picture
Dhruv1 year ago

@streamlit can they build a AI image generator which runs on local and you can give any huggingface model for text to image

Melvin Vivas's profile picture
Melvin Vivas1 year ago

@streamlit if you have a gpu why not

Dr G Hodl's profile picture
Dr G Hodl1 year ago

@streamlit Impressive speed! I might give that a try later.

murad's profile picture
murad1 year ago

@streamlit Honestly, building a functional Python app in minutes shows how AI is rewriting what “rapid development” even means.

JT's profile picture
JT1 year ago

@streamlit Sorry GLM4.6 seems to have lot of marketing folks. Virtually GLM is useless. All the examples presented are very basic coding examples

Vin Agarwal's profile picture
Vin Agarwal1 year ago

@streamlit 3 minutes is so cool

Sandy's profile picture
Sandy1 year ago

@streamlit 3 mins is wild, building speed is key

Suhrab Khan⚡️'s profile picture
Suhrab Khan⚡️1 year ago

@streamlit GLM 4.6 plus Claude Code shows how quickly LLMs can bootstrap full Python apps with interactive UIs. Turning ideas into working prototypes in minutes!

Related Videos

RustGIS is now on PyPI: pip install rustgis RustGIS is a fast, free and open-source GIS in pure Rust for mapping, analyzing and sharing geospatial data. It runs natively on Windows, macOS and Linux, and in your web browser. Your data stays on your machine unless you send it to an AI model you choose, and every action is a command you can script. The new rustgis Python package brings the RustGIS engine into Python and the full RustGIS app into your Jupyter notebook, with no server to run and nothing else to install. What you can do - The engine in-process: open the same data the app opens, run any of RustGIS's commands and geoprocessing tools, style layers and render maps, all from Python. - GeoPandas in and out: turn any layer into a GeoDataFrame, or add a GeoDataFrame as a layer. - The whole app in a notebook cell: shows the ribbon, panes and map right below your code. - Two-way sync: what Python adds or styles appears in the app, and what you pan, edit or add in the app comes back to Python. - Projects that travel: save a .rgis project from Python and open it as it is in the desktop app or the web app. - Runs where you work: JupyterLab, Jupyter Notebook, VS Code and Google Colab, with prebuilt wheels for Windows, macOS and Linux. Get started in three lines: import rustgis m = m Try it out - Open the getting-started notebook in Colab: - PyPI: - Python guide: - Launch the web app: - GitHub: #GIS #Rust #Python #Jupyter #OpenSource #Geospatial

Qiusheng Wu

13,852 views • 1 month ago