Spaces:
Sleeping
Sleeping
Nathan Butters commited on
Commit ·
4bee960
1
Parent(s): 5b1c7ed
Update URL
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ picture = st.camera_input("Take a picture of your math work", disabled=not enabl
|
|
| 51 |
if picture is not None:
|
| 52 |
with open(os.path.join("tempDir","picture.png"),"wb") as f:
|
| 53 |
f.write(picture.getbuffer())
|
| 54 |
-
mmChat("./tempDir/picture.png")
|
| 55 |
#guidedMM(st.session_state.systemPrompt, "http://192.168.50.36:8501/tempDir/picture")
|
| 56 |
else:
|
| 57 |
basicChat()
|
|
|
|
| 51 |
if picture is not None:
|
| 52 |
with open(os.path.join("tempDir","picture.png"),"wb") as f:
|
| 53 |
f.write(picture.getbuffer())
|
| 54 |
+
mmChat("http://34.230.254.100:8501/tempDir/picture.png")
|
| 55 |
#guidedMM(st.session_state.systemPrompt, "http://192.168.50.36:8501/tempDir/picture")
|
| 56 |
else:
|
| 57 |
basicChat()
|